2000-06-08 Fernando Nasser <fnasser@cygnus.com>
* values.c (value_primitive_field): Copy VALUE_REGNO as well. With typed registers we may have the location information in this field, in addition to VALUE_ADDRESS (which was already being copied).
This commit is contained in:
parent
63a0b638d4
commit
a88c1392bd
|
@ -1,3 +1,9 @@
|
||||||
|
2000-06-08 Fernando Nasser <fnasser@cygnus.com>
|
||||||
|
|
||||||
|
* values.c (value_primitive_field): Copy VALUE_REGNO as well.
|
||||||
|
With typed registers we may have the location information in this field,
|
||||||
|
in addition to VALUE_ADDRESS (which was already being copied).
|
||||||
|
|
||||||
Thu Jun 8 15:26:44 2000 Andrew Cagney <cagney@b1.cygnus.com>
|
Thu Jun 8 15:26:44 2000 Andrew Cagney <cagney@b1.cygnus.com>
|
||||||
|
|
||||||
* config/mips/tm-mips.h (GDB_MULTI_ARCH): Define as 1.
|
* config/mips/tm-mips.h (GDB_MULTI_ARCH): Define as 1.
|
||||||
|
|
|
@ -841,6 +841,7 @@ value_primitive_field (arg1, offset, fieldno, arg_type)
|
||||||
if (VALUE_LVAL (arg1) == lval_internalvar)
|
if (VALUE_LVAL (arg1) == lval_internalvar)
|
||||||
VALUE_LVAL (v) = lval_internalvar_component;
|
VALUE_LVAL (v) = lval_internalvar_component;
|
||||||
VALUE_ADDRESS (v) = VALUE_ADDRESS (arg1);
|
VALUE_ADDRESS (v) = VALUE_ADDRESS (arg1);
|
||||||
|
VALUE_REGNO (v) = VALUE_REGNO (arg1);
|
||||||
/* VALUE_OFFSET (v) = VALUE_OFFSET (arg1) + offset
|
/* VALUE_OFFSET (v) = VALUE_OFFSET (arg1) + offset
|
||||||
+ TYPE_FIELD_BITPOS (arg_type, fieldno) / 8; */
|
+ TYPE_FIELD_BITPOS (arg_type, fieldno) / 8; */
|
||||||
return v;
|
return v;
|
||||||
|
|
Loading…
Reference in New Issue