* value.h (struct internalvar): Remove.
[deliverable/binutils-gdb.git] / gdb / printcmd.c
index 4cb681f4fe09199a9cd3f72d4141af0c0926db20..b0d7a171ad804519ac1df7771e7fda9395b30628 100644 (file)
@@ -1369,8 +1369,7 @@ x_command (char *exp, int from_tty)
         then don't fetch it now; instead mark it by voiding the $__
         variable.  */
       if (value_lazy (last_examine_value))
-       set_internalvar (lookup_internalvar ("__"),
-                        allocate_value (builtin_type_void));
+       clear_internalvar (lookup_internalvar ("__"));
       else
        set_internalvar (lookup_internalvar ("__"), last_examine_value);
     }
This page took 0.024376 seconds and 4 git commands to generate.