aboutsummaryrefslogtreecommitdiff
path: root/gdb/valprint.c
diff options
context:
space:
mode:
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;