aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-07 04:50:28 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-07 04:50:28 +0000
commitfeb13ab03fc262ada6379aa92441e48e93b29f0a (patch)
tree5429b61e91a73155efcfeb6370e056849ed82e5e /gdb/value.h
parenta779d8fa1338d1d53d2010f93df96696cbec54ae (diff)
downloadgdb-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/value.h')
-rw-r--r--gdb/value.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/value.h b/gdb/value.h
index 50ea6d9..0a3d6af 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -213,7 +213,8 @@ extern int value_fetch_lazy (struct value *val);
#define VALUE_INTERNALVAR(val) (val)->location.internalvar
#define VALUE_FRAME_ID(val) ((val)->frame_id)
#define VALUE_REGNUM(val) (val)->regnum
-#define VALUE_OPTIMIZED_OUT(val) ((val)->optimized_out)
+extern int value_optimized_out (struct value *value);
+extern void set_value_optimized_out (struct value *value, int val);
#define VALUE_EMBEDDED_OFFSET(val) ((val)->embedded_offset)
#define VALUE_POINTED_TO_OFFSET(val) ((val)->pointed_to_offset)