[PATCH] MIPS/Linux: Update the number of pseudo registers too

Joel Brobecker brobecker@adacore.com
Thu Dec 8 09:26:00 GMT 2011


> > >  Similarly to the previous general MIPS change (pc_regnum and sp_regnum) 
> > > the Linux backend needs to update the number of pseudo registers as it 
> > > adds the "restart" register.  No regressions in mips-linux-gnu testing 
> > > (native and remote).  OK to apply?
> > 
> > I don't understand this one. Isn't the register added to the list of
> > normal registers, rather than pseudo registers?
> 
> MIPS is a bit weird, since all register access is done via pseudo
> registers to deal with 32-bit vs. 64-bit issues (in particular,
> supporting a 32-bit ABI on 64-bit hardware).

Aha, thanks! So that would indeed mean that Maciej's patch should be
correct, right?

-- 
Joel



More information about the Gdb-patches mailing list