From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6068 invoked by alias); 27 Oct 2005 02:59:11 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 6052 invoked by uid 22791); 27 Oct 2005 02:59:03 -0000 Received: from 69.0.103.46.adsl.snet.net (HELO Power-Mac-G5.local) (69.0.103.46) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 27 Oct 2005 02:59:03 +0000 Received: by Power-Mac-G5.local (Postfix, from userid 501) id 2228CB9ADD; Wed, 26 Oct 2005 22:58:56 -0400 (EDT) Date: Thu, 27 Oct 2005 02:59:00 -0000 From: Ron McCall To: gdb@sources.redhat.com Subject: PowerPC 603 Register Set Clarification Message-ID: <20051027025856.GD6186@Power-Mac-G5.local> Mail-Followup-To: gdb@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-SW-Source: 2005-10/txt/msg00151.txt.bz2 Hi, I am unsure as to how to handle the ASR register and the two placeholder registers that are defined for the PowerPC 603 with respect to the 'g' and 'G' packets and was hoping someone could clarify it for me. I am currently working with GDB 6.3.50.20051026. In rs6000-tdep.c, PPC_OEA_SPRS includes the ASR register which is declared S64 (a 64-bit register on 64-bit systems that doesn't exist on 32-bit systems). The 603 isn't 64-bit but the register still appears to take up a register number nonetheless. Does it also take up space (16 hex chars) in the 'G' packet, which is then intended to be skipped by the stub? If so, should the stub then fill in zeroes for this register in the 'g' packet? Also in rs6000-tdep.c, registers_603[] contains two placeholder registers as register numbers 122 and 123. Both are declared R0 (placeholder for a register that doesn't exist). Again, they appear to take up register numbers but do they also take up space in the 'G' and 'g' packets? In this case there is no declared size, or perhaps that is meant to mean that they are zero sized and thus take up no space? Thanks for the help! Ron McCall