From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10357 invoked by alias); 13 Dec 2002 00:42:24 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 10350 invoked from network); 13 Dec 2002 00:42:23 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 13 Dec 2002 00:42:23 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 7D10C3C97; Thu, 12 Dec 2002 19:42:13 -0500 (EST) Message-ID: <3DF92CE5.1000302@redhat.com> Date: Fri, 13 Dec 2002 00:42:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.1) Gecko/20021211 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Buettner Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] Multiarch NUM_REGS for MIPS References: <1021213001947.ZM11112@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-12/txt/msg00410.txt.bz2 Er, multi-arch is pretty obvious. Hmm, > static struct mips_extra_func_info temp_proc_desc; > -static CORE_ADDR temp_saved_regs[NUM_REGS]; > +static CORE_ADDR *temp_saved_regs; Ah! Can you just add a comment here saying something like: ``This hack will go away once the get_prev_frame() code has been modified to set the frame's type first. That is BEFORE init extra frame info et.al. is called. This is because it will become possible to skip the init extra info call for sigtramp and dummy frames.'' Andrew