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.
This commit is contained in:
Andrew Cagney
2005-02-02 22:34:36 +00:00
parent 46615f07c3
commit d69fe07ead
14 changed files with 42 additions and 31 deletions

View File

@@ -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