From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11805 invoked by alias); 15 Nov 2007 09:54:45 -0000 Received: (qmail 11796 invoked by uid 22791); 15 Nov 2007 09:54:44 -0000 X-Spam-Check-By: sourceware.org Received: from ks30928.kimsufi.com (HELO mailhost.tni-software.com) (213.186.41.72) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 15 Nov 2007 09:54:37 +0000 Received: (qmail 13575 invoked by uid 89); 15 Nov 2007 09:54:34 -0000 Received: from unknown (HELO ?192.168.1.120?) (g.menant@ayrtontechnology.com@212.99.37.34) by ks30928.kimsufi.com with ESMTPA; 15 Nov 2007 09:54:34 -0000 Message-ID: <473C1753.1090409@geensys.com> Date: Thu, 15 Nov 2007 09:54:00 -0000 From: Guillaume MENANT User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: gdb@sourceware.org Subject: 'g/G' GDB commands Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00157.txt.bz2 Hello, I'm trying to make a stub for GDB but i've a question about the 'g/G' commands. I don't really understand the following paragraph : "The following |g|/|G| packets have previously been defined. In the below, some thirty-two bit registers are transferred as sixty-four bits. Those registers should be zero/sign extended (which?) to fill the space allocated. Register bytes are transferred in target byte order. The two nibbles within a register byte are transferred most-significant - least-significant. MIPS32 : All registers are transferred as thirty-two bit quantities in the order: 32 general-purpose; sr; lo; hi; bad; cause; pc; 32 floating-point registers; fsr; fir; fp. MIPS64 : All registers are transferred as sixty-four bit quantities (including thirty-two bit registers such as |sr|). The ordering is the same as |MIPS32|." 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 ? Thanks. -- Guillaume Menant