aboutsummaryrefslogtreecommitdiff
path: root/gdb/valprint.c
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/valprint.c
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/valprint.c')
-rw-r--r--gdb/valprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/valprint.c b/gdb/valprint.c
index 9285906..dfcd722 100644
--- a/gdb/valprint.c
+++ b/gdb/valprint.c
@@ -164,7 +164,7 @@ value_print (struct value *val, struct ui_file *stream, int format,
printf_filtered ("<address of value unknown>");
return 0;
}
- if (VALUE_OPTIMIZED_OUT (val))
+ if (value_optimized_out (val))
{
printf_filtered ("<value optimized out>");
return 0;