This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: 'g/G' GDB commands
- From: Daniel Jacobowitz <drow at false dot org>
- To: Guillaume MENANT <guillaume dot menant at geensys dot com>
- Cc: gdb at sourceware dot org
- Date: Thu, 15 Nov 2007 08:38:42 -0500
- Subject: Re: 'g/G' GDB commands
- References: <473C1753.1090409@geensys.com>
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