Mark entirely optimized out value as non-lazy.
[deliverable/binutils-gdb.git] / gdb / value.c
index da7778f01927dc5bdbbc73aa496e0a274df6211f..8052f52f874689aa07a6a54fb94a51bfc9f856c0 100644 (file)
@@ -768,7 +768,7 @@ allocate_optimized_out_value (struct type *type)
   struct value *retval = allocate_value_lazy (type);
 
   set_value_optimized_out (retval, 1);
-
+  set_value_lazy (retval, 0);
   return retval;
 }
 
This page took 0.02338 seconds and 4 git commands to generate.