« Return to Thread: 'g/G' GDB commands

Re: 'g/G' GDB commands

by Daniel Jacobowitz-2 :: Rate this Message:

Reply to Author | View in Thread

On Thu, Nov 15, 2007 at 10:54:27AM +0100, Guillaume MENANT wrote:
> The chip I want to debug is the Atmel AT697E and I don't really know which
> register of the AT697E corresponds to "32 general-purpose", "sr", "lo", "hi",
> "bad", "cause", "fsr", "fir"... How can I have more information about that ?

I doubt the Atmel AT697E is a MIPS; it's a SPARC, seems like.
So that paragraph does not apply.

Configure a SPARC-targeted GDB and look at the output of "maint print
registers".  That should give you an idea of the layout GDB expects.

--
Daniel Jacobowitz
CodeSourcery

 « Return to Thread: 'g/G' GDB commands