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/findvar.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/findvar.c')
-rw-r--r-- | gdb/findvar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/findvar.c b/gdb/findvar.c index 94140d6..aff138a 100644 --- a/gdb/findvar.c +++ b/gdb/findvar.c @@ -287,7 +287,7 @@ value_of_register (int regnum, struct frame_info *frame) VALUE_LVAL (reg_val) = lval; VALUE_ADDRESS (reg_val) = addr; VALUE_REGNUM (reg_val) = regnum; - VALUE_OPTIMIZED_OUT (reg_val) = optim; + set_value_optimized_out (reg_val, optim); VALUE_FRAME_ID (reg_val) = get_frame_id (frame); return reg_val; } @@ -576,7 +576,7 @@ addresses have not been bound by the dynamic loader. Try again when executable i case LOC_OPTIMIZED_OUT: VALUE_LVAL (v) = not_lval; - VALUE_OPTIMIZED_OUT (v) = 1; + set_value_optimized_out (v, 1); return v; default: @@ -701,7 +701,7 @@ value_from_register (struct type *type, int regnum, struct frame_info *frame) VALUE_REGNUM (v) = regnum; } - VALUE_OPTIMIZED_OUT (v) = optimized; + set_value_optimized_out (v, optimized); /* Any structure stored in more than one register will always be an integral number of registers. Otherwise, you need to do |