This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/DWARF] variables with no DW_AT_location
- From: Daniel Jacobowitz <drow at false dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 28 Mar 2007 22:20:31 -0400
- Subject: Re: [RFA/DWARF] variables with no DW_AT_location
- References: <20070328222253.GM3866@adacore.com>
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