Re: How to get PPC registers

Jim Blandy
2004-08-11T15:04:00Z

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.