From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20231 invoked by alias); 17 May 2005 14:03:38 -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 19673 invoked from network); 17 May 2005 14:03:31 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 17 May 2005 14:03:31 -0000 Received: from drow by nevyn.them.org with local (Exim 4.50) id 1DY2fS-0001wS-6X; Tue, 17 May 2005 10:03:30 -0400 Date: Tue, 17 May 2005 14:03:00 -0000 From: Daniel Jacobowitz To: Chris Zankel Cc: gdb@sources.redhat.com Subject: Re: RFC: Available registers as a target property Message-ID: <20050517140329.GA7337@nevyn.them.org> Mail-Followup-To: Chris Zankel , gdb@sources.redhat.com References: <20050506162029.GA30792@nevyn.them.org> <427FD70E.2050608@tensilica.com> <20050509230746.GA20085@nevyn.them.org> <427FFF0A.8010800@tensilica.com> <20050510210800.GA12075@nevyn.them.org> <4283E829.1020008@tensilica.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4283E829.1020008@tensilica.com> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-05/txt/msg00167.txt.bz2 On Thu, May 12, 2005 at 04:35:05PM -0700, Chris Zankel wrote: > >The options are to tell GDB about this directly, or to have the OCD > >tell GDB about the real properties of the target. I obviously prefer > >the latter when possible, because it allows GDB to gracefully handle > >binaries built for one configuration, and run on another configuration > >where they still work (but may be somehow affected by state they can > >not see). > > This actually goes back to your comment above - I think. How do you > tread 'pseudo' registers? Would it make sense to add 'flags' to the > 'set' command? > > set::[:] I don't think so, but I don't have a good idea of what you would use it for. Do you want to give me an example? > Oops... I wasn't sure if I was looking at our code or the original GDB > sources. It looks like GDB has support for non-sequential pnums, but > doesn't allow to assign them from gdbarch. Correct - not yet. Soon I hope. -- Daniel Jacobowitz CodeSourcery, LLC