From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21113 invoked by alias); 27 Oct 2005 18:30:36 -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 20830 invoked by uid 22791); 27 Oct 2005 18:30:22 -0000 Received: from web81203.mail.yahoo.com (HELO web81203.mail.yahoo.com) (206.190.37.176) by sourceware.org (qpsmtpd/0.30-dev) with SMTP; Thu, 27 Oct 2005 18:30:22 +0000 Received: (qmail 58380 invoked by uid 60001); 27 Oct 2005 18:30:18 -0000 Message-ID: <20051027183014.58367.qmail@web81203.mail.yahoo.com> Received: from [192.249.47.11] by web81203.mail.yahoo.com via HTTP; Thu, 27 Oct 2005 11:30:13 PDT Date: Thu, 27 Oct 2005 18:30:00 -0000 From: Ron McCall Subject: Re: PowerPC 603 Register Set Clarification To: gdb@sources.redhat.com In-Reply-To: <20051027153545.GA25150@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2005-10/txt/msg00170.txt.bz2 --- Daniel Jacobowitz wrote: > The best way to answer this question is to configure > GDB appropriately > to talk to a 603 target, and then run "maint info > registers". That > will tell you the expected offsets of every > register. There isn't a registers subcommand under maintenance info but there is a maintenance print raw-registers command that looks like it gives the desired information. It says that ASR and the two placeholder registers have a size of zero. So, that would imply that both the 'G' and 'g' packets would just omit them all. However, I do see GDB trying to read these three registers via the 'p' packet. In that case, should a stub reply with an error or an empty response? It doesn't seem possible to returns zeroes since there is no size associated with these registers. Thanks for the help! Ron McCall