This is the mail archive of the
mailing list for the GDB project.
Re: [PATCH] MIPS/Linux: Update the number of pseudo registers too
> Date: Thu, 8 Dec 2011 10:04:15 +0100
> From: Joel Brobecker <email@example.com>
> > > > 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?
Almost certainly, yes.