diff options
Diffstat (limited to 'gdb/value.c')
-rw-r--r-- | gdb/value.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/value.c b/gdb/value.c index f0c8463..808d37b 100644 --- a/gdb/value.c +++ b/gdb/value.c @@ -1712,8 +1712,7 @@ value_from_contents_and_address (struct type *type, else memcpy (value_contents_raw (v), valaddr, TYPE_LENGTH (type)); VALUE_ADDRESS (v) = address; - if (address != 0) - VALUE_LVAL (v) = lval_memory; + VALUE_LVAL (v) = lval_memory; return v; } |