mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
* value.c (value_from_contents_and_address): Always return
a lval_memory value, even if address is null.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user