diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-07 04:50:28 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-07 04:50:28 +0000 |
commit | feb13ab03fc262ada6379aa92441e48e93b29f0a (patch) | |
tree | 5429b61e91a73155efcfeb6370e056849ed82e5e /gdb/dwarf2loc.c | |
parent | a779d8fa1338d1d53d2010f93df96696cbec54ae (diff) | |
download | gdb-feb13ab03fc262ada6379aa92441e48e93b29f0a.zip gdb-feb13ab03fc262ada6379aa92441e48e93b29f0a.tar.gz gdb-feb13ab03fc262ada6379aa92441e48e93b29f0a.tar.bz2 |
2005-02-06 Andrew Cagney <cagney@gnu.org>
* value.h (VALUE_OPTIMIZED_OUT): Delete.
(value_optimized_out, set_value_optimized_out): Declare.
* value.c (set_value_optimized_out, value_optimized_out): Define.
* valprint.c, findvar.c, dwarf2loc.c: Update.
Diffstat (limited to 'gdb/dwarf2loc.c')
-rw-r--r-- | gdb/dwarf2loc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c index 6657791..037adf3 100644 --- a/gdb/dwarf2loc.c +++ b/gdb/dwarf2loc.c @@ -1,5 +1,7 @@ /* DWARF 2 location expression support for GDB. - Copyright 2003 Free Software Foundation, Inc. + + Copyright 2003, 2005 Free Software Foundation, Inc. + Contributed by Daniel Jacobowitz, MontaVista Software, Inc. This file is part of GDB. @@ -214,7 +216,7 @@ dwarf2_evaluate_loc_desc (struct symbol *var, struct frame_info *frame, { retval = allocate_value (SYMBOL_TYPE (var)); VALUE_LVAL (retval) = not_lval; - VALUE_OPTIMIZED_OUT (retval) = 1; + set_value_optimized_out (retval, 1); } baton.frame = frame; |