From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22139 invoked by alias); 29 Mar 2007 02:20:40 -0000 Received: (qmail 22117 invoked by uid 22791); 29 Mar 2007 02:20:38 -0000 X-Spam-Check-By: sourceware.org Received: from return.false.org (HELO return.false.org) (66.207.162.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 29 Mar 2007 03:20:34 +0100 Received: from return.false.org (localhost [127.0.0.1]) by return.false.org (Postfix) with ESMTP id DBAD44B267; Wed, 28 Mar 2007 21:20:32 -0500 (CDT) Received: from caradoc.them.org (dsl093-172-095.pit1.dsl.speakeasy.net [66.93.172.95]) by return.false.org (Postfix) with ESMTP id BAAF94B262; Wed, 28 Mar 2007 21:20:32 -0500 (CDT) Received: from drow by caradoc.them.org with local (Exim 4.63) (envelope-from ) id 1HWkFb-0004UP-TN; Wed, 28 Mar 2007 22:20:31 -0400 Date: Thu, 29 Mar 2007 02:20:00 -0000 From: Daniel Jacobowitz To: Joel Brobecker Cc: gdb-patches@sourceware.org Subject: Re: [RFA/DWARF] variables with no DW_AT_location Message-ID: <20070329022031.GA17225@caradoc.them.org> Mail-Followup-To: Joel Brobecker , gdb-patches@sourceware.org References: <20070328222253.GM3866@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070328222253.GM3866@adacore.com> User-Agent: Mutt/1.5.14+cvs20070313 (2007-03-13) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-03/txt/msg00300.txt.bz2 On Wed, Mar 28, 2007 at 03:22:53PM -0700, Joel Brobecker wrote: > The simplest way of doing this was to take advantage of the fact that > the dwarf2read module sets the symbol class of such variables to > LOC_UNRESOLVED, and then modify the code in findvar to return an > "optimized out" value rather than no value at all. Is this patch coming from an older tree? Because dwarf2read doesn't do that any more. revision 1.195 date: 2006/05/06 00:14:03; author: nickrob; state: Exp; lines: +1 -1 branches: 1.195.2; Make LOC_OPTIMIZED_OUT the default value for a symbol. -- Daniel Jacobowitz CodeSourcery