From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5410 invoked by alias); 22 Aug 2006 01:35:23 -0000 Received: (qmail 5401 invoked by uid 22791); 22 Aug 2006 01:35:23 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 22 Aug 2006 01:35:21 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GFLAj-0001IT-UF; Mon, 21 Aug 2006 21:35:18 -0400 Date: Tue, 22 Aug 2006 18:21:00 -0000 From: Daniel Jacobowitz To: Mike Frysinger Cc: Mark Kettenis , gdb-patches@sourceware.org Subject: Re: only force symbol lookups with local variables on hppa Message-ID: <20060822013517.GA4935@nevyn.them.org> Mail-Followup-To: Mike Frysinger , Mark Kettenis , gdb-patches@sourceware.org References: <200608200903.07185.vapier@gentoo.org> <200608201310.k7KDAgwj013347@elgar.sibelius.xs4all.nl> <20060820135754.GA17322@nevyn.them.org> <200608212132.30241.vapier@gentoo.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200608212132.30241.vapier@gentoo.org> User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00152.txt.bz2 On Mon, Aug 21, 2006 at 09:32:29PM -0400, Mike Frysinger wrote: > On Sunday 20 August 2006 09:57, Daniel Jacobowitz wrote: > > As a followup, there are several better options: > > hmm, is there a spec somewhere that says what order symbols need to be > resolved ? how about an alternative option: > - in write_dollar_variable(), if the symbol starts with a '$', we first try > to look it up via lookup_internalvar() ... if that fails, we fall back to > lookup_symbol() and lookup_minimal_symbol() and then jump back to the > lookup_internalvar() ... Hmm... that's also an interesting option. I have no opinion. -- Daniel Jacobowitz CodeSourcery