summaryrefslogtreecommitdiff
path: root/gdb/printcmd.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-02 22:34:36 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-02 22:34:36 +0000
commit7dd837ca83704c757ae2515b2e29577350861adc (patch)
tree010f0f1b9615bf3d6b1b546b4ee931ce6d7d52bf /gdb/printcmd.c
parent284785e3eb2369516f2a4c02ab476b024c87faea (diff)
downloadgdb-7dd837ca83704c757ae2515b2e29577350861adc.tar.gz
2005-02-02 Andrew Cagney <cagney@gnu.org>
* value.h (value_lazy): Declare. * varobj.c, value.c, valops.c, valarith.c, printcmd.c: Update. * cp-valprint.c, breakpoint.c, ada-lang.c: Update.
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r--gdb/printcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index fb13ecb8c95..1efd5d358d5 100644
--- a/gdb/printcmd.c
+++ b/gdb/printcmd.c
@@ -1316,7 +1316,7 @@ x_command (char *exp, int from_tty)
/* Make contents of last address examined available to the user as $__. */
/* If the last value has not been fetched from memory then don't
fetch it now - instead mark it by voiding the $__ variable. */
- if (VALUE_LAZY (last_examine_value))
+ if (value_lazy (last_examine_value))
set_internalvar (lookup_internalvar ("__"),
allocate_value (builtin_type_void));
else