From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32508 invoked by alias); 7 Mar 2005 22:58:09 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 32471 invoked from network); 7 Mar 2005 22:58:06 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 7 Mar 2005 22:58:06 -0000 Received: from drow by nevyn.them.org with local (Exim 4.44 #1 (Debian)) id 1D8RAs-0003GP-2O; Mon, 07 Mar 2005 17:58:06 -0500 Date: Mon, 07 Mar 2005 22:58:00 -0000 From: Daniel Jacobowitz To: Nathan Sidwell Cc: gdb-patches@sources.redhat.com, Paul Brook Subject: Re: [patch] registers beginning with '$' Message-ID: <20050307225806.GD28725@nevyn.them.org> Mail-Followup-To: Nathan Sidwell , gdb-patches@sources.redhat.com, Paul Brook References: <420B383D.1020406@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <420B383D.1020406@codesourcery.com> User-Agent: Mutt/1.5.6+20040907i X-SW-Source: 2005-03/txt/msg00107.txt.bz2 On Thu, Feb 10, 2005 at 10:32:29AM +0000, Nathan Sidwell wrote: > Hi, > I had the misfortune to port to an architecture where register names > all start with a '$' and the pc reg is '$PC'. This patch fixes expression > printing of registers so that such names don't result in '$$name' being > printed. It fixes register name lookup so that the leading '$' need not > be specified (several places strip leading '$' on the name to be looked > up). It also makes the register name lookup case insensitive. > > I also attach testsuite patches to allow $pc or $PC as the pc name. > > built and tested on i686-pc-linux-gnu, and an unreleased architecture, ok? This one I'm less sure about. If you tell GDB the register names do not contain '$', what output is wrong? -- Daniel Jacobowitz CodeSourcery, LLC