This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Multiarch NUM_REGS for MIPS
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: Kevin Buettner <kevinb at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 12 Dec 2002 19:42:13 -0500
- Subject: Re: [RFA] Multiarch NUM_REGS for MIPS
- References: <1021213001947.ZM11112@localhost.localdomain>
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