mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-03 15:42:52 +00:00
* value.c (value_copy): Copy the full 'location' contents, instead
of assuming that copying ADDRESS will bring over everything in the union.
This commit is contained in:
parent
c205176132
commit
6f7c8fc2c5
@ -1,3 +1,9 @@
|
||||
2006-12-13 Jim Blandy <jimb@codesourcery.com>
|
||||
|
||||
* value.c (value_copy): Copy the full 'location' contents, instead
|
||||
of assuming that copying ADDRESS will bring over everything in the
|
||||
union.
|
||||
|
||||
2006-12-13 Markus Deuling <deuling@de.ibm.com>
|
||||
|
||||
* spu-tdep.c (spu_init_vector_type): New function.
|
||||
|
@ -551,7 +551,7 @@ value_copy (struct value *arg)
|
||||
struct value *val = allocate_value (encl_type);
|
||||
val->type = arg->type;
|
||||
VALUE_LVAL (val) = VALUE_LVAL (arg);
|
||||
VALUE_ADDRESS (val) = VALUE_ADDRESS (arg);
|
||||
val->location = arg->location;
|
||||
val->offset = arg->offset;
|
||||
val->bitpos = arg->bitpos;
|
||||
val->bitsize = arg->bitsize;
|
||||
|
Loading…
x
Reference in New Issue
Block a user