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]

Re: How to get PPC registers


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.


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