From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3367 invoked by alias); 15 Nov 2007 13:38:50 -0000 Received: (qmail 3357 invoked by uid 22791); 15 Nov 2007 13:38:49 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 15 Nov 2007 13:38:44 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 665839824E; Thu, 15 Nov 2007 13:38:43 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 4FB3698103; Thu, 15 Nov 2007 13:38:43 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1Iseva-00059g-8F; Thu, 15 Nov 2007 08:38:42 -0500 Date: Thu, 15 Nov 2007 13:38:00 -0000 From: Daniel Jacobowitz To: Guillaume MENANT Cc: gdb@sourceware.org Subject: Re: 'g/G' GDB commands Message-ID: <20071115133842.GB19518@caradoc.them.org> Mail-Followup-To: Guillaume MENANT , gdb@sourceware.org References: <473C1753.1090409@geensys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <473C1753.1090409@geensys.com> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-11/txt/msg00159.txt.bz2 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