This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] MIPS/Linux: Update the number of pseudo registers too
- From: "Maciej W. Rozycki" <macro at codesourcery dot com>
- To: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- Cc: <brobecker at adacore dot com>, <gdb-patches at sourceware dot org>
- Date: Mon, 27 Feb 2012 21:30:23 +0000
- Subject: Re: [PATCH] MIPS/Linux: Update the number of pseudo registers too
- References: <alpine.DEB.1.10.1112062118470.6710@tp.orcam.me.uk> <20111208083113.GH21915@adacore.com> <201112080858.pB88wBu2008282@glazunov.sibelius.xs4all.nl> <20111208090415.GJ21915@adacore.com> <201112081041.pB8AfTwo021983@glazunov.sibelius.xs4all.nl>
On Thu, 8 Dec 2011, Mark Kettenis wrote:
> > > > > 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.
Applied now, thanks for the review.
Maciej