How to get PPC registers
Jim Blandy
jimb@redhat.com
Wed Aug 11 15:04:00 GMT 2004
Fabian Cenedese <Cenedese@indel.ch> writes:
> The values I return for the registers are just made up to test the
> communication. But they are only filled into the general (and FP)
> registers. What command do I have to use to get the special
> registers like pc, lr etc?
You should try saying 'info all-registers', which will also show you
the floating-point registers. The FP registers follow the
general-purpose registers in the 'g' packet; since there are 32 of
them, and each is eight bytes long, they consume bytes 128 -- 384 of
the 'g' packet. Your sample packet data isn't long enough to reach
the miscellaneous registers.
More information about the Gdb
mailing list