New version of GDB Macros file

leonp at plris.com leonp at plris.com
Mon Aug 7 16:15:28 UTC 2006


On Monday, 7 בAugust 2006 19:10, Joel Sherrill wrote:
> Till Straumann wrote:
> >> Which port uses  gpr1 for the stack pointer.
> >
> > PPC does
>
> Thanks.  I have updated the script to include a comment that the line
> is PowerPC specific.  Hopefully we can get the right line of code
> in there for each port.
>
> I don't know a generic way to let it detect what port it is on and
> do the right thing.
>
> --joel
I don't know if it is the rule for GDB, but my 6.0 also knows the register 
called 'sp' 9which is gpr1 for my PPC gdb.

-- 
Leon



More information about the users mailing list