This is the mail archive of the gdb@sources.redhat.com 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]

Fw: How to get PPC registers


----- Original Message -----
From: "Krzysztof Blaszkowski" <info@sysmikro.com.pl>
To: "Steven Johnson" <sjohnson@neurizon.net>
Sent: Wednesday, August 11, 2004 11:12 AM
Subject: Re: How to get PPC registers


> I don't think so, as the $g packet should return a set of all registers.
The
> remote stub might be broken.
>
> Best regards,
> Krzysztof Blaszkowski
>
> ----- Original Message -----
> From: "Steven Johnson" <sjohnson@neurizon.net>
> To: "Fabian Cenedese" <Cenedese@indel.ch>
> Cc: <gdb@sources.redhat.com>
> Sent: Wednesday, August 11, 2004 10:50 AM
> Subject: Re: How to get PPC registers
>
>
> > Fabian Cenedese wrote:
> > > What command do I have to use to get the special
> > > registers like pc, lr etc?
> > >
> > You need to set the architecture to the chip type you are using to see
> > the SPR's. Then the remote protocol packet will change, and expect more
> > data.
> >
> > check out 'set architecture' or something like that. (Dont have a
> > working GDB with me to test out on for exact command, sorry.)
> >
> > Steven
> >
> > > Thanks
> > >
> > > bye  Fabi
> > >
> > >
> > >
> >
> >
> >
>


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