mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-03 15:42:52 +00:00
* value.c (value_from_contents_and_address): Always return
a lval_memory value, even if address is null.
This commit is contained in:
parent
8e94a90cbc
commit
33d502b41a
@ -1,3 +1,8 @@
|
||||
2009-02-04 Jerome Guitton <guitton@adacore.com>
|
||||
|
||||
* value.c (value_from_contents_and_address): Always return
|
||||
a lval_memory value, even if address is null.
|
||||
|
||||
2009-02-04 Tristan Gingold <gingold@adacore.com>
|
||||
|
||||
* i386-darwin-tdep.c (i386_darwin_sigcontext_addr): New function.
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user