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
On Dec 12, 7:42pm, Andrew Cagney wrote:
> 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.''
Done... and comitted.
Kevin