projects
/
platform
/
upstream
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gdb/
[platform/upstream/binutils.git]
/
gdb
/
valops.c
diff --git
a/gdb/valops.c
b/gdb/valops.c
index
d9cdc13
..
ee05d73
100644
(file)
--- a/
gdb/valops.c
+++ b/
gdb/valops.c
@@
-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;
}