This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]