From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16788 invoked by alias); 11 May 2008 21:30:45 -0000 Received: (qmail 16780 invoked by uid 22791); 11 May 2008 21:30:45 -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; Sun, 11 May 2008 21:30:25 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 6EFDD98278; Sun, 11 May 2008 21:30:24 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id E2F9898149; Sun, 11 May 2008 21:30:22 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JvJ7S-0002Qq-UF; Sun, 11 May 2008 17:30:10 -0400 Date: Sun, 11 May 2008 21:30:00 -0000 From: Daniel Jacobowitz To: "Anmol P. Paralkar" Cc: gdb@sourceware.org Subject: Re: Question on power-core.xml, register: r1. Message-ID: <20080511213010.GC9153@caradoc.them.org> Mail-Followup-To: "Anmol P. Paralkar" , gdb@sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-12-11) 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: 2008-05/txt/msg00093.txt.bz2 On Fri, May 09, 2008 at 06:40:42PM -0500, Anmol P. Paralkar wrote: > I note the use of the term: "may"; while power-core.xml marks 'pc' and 'lr' > as type="code_ptr", it does not mark 'r1', the stack-pointer as > type="data_ptr". Is there a specific reason why this is so? No, there is no particular reason. Marking code_ptr is a user visible improvement but marking data_ptr does not make much difference. In some places the register will be displayed as hex once you change it to be a pointer. -- Daniel Jacobowitz CodeSourcery