gdb/
[deliverable/binutils-gdb.git] / gdb / valops.c
index d9cdc134174a4e3d279bdade2e1836877b684d7b..ee05d7316a072f39ad3368aa7694d40462256fc2 100644 (file)
@@ -860,7 +860,7 @@ value_zero (struct type *type, enum lval_type lv)
 {
   struct value *val = allocate_value (type);
 
-  VALUE_LVAL (val) = lv;
+  VALUE_LVAL (val) = (lv == lval_computed ? not_lval : lv);
   return val;
 }
 
This page took 0.023992 seconds and 4 git commands to generate.