mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-23 19:10:50 +00:00
2003-03-08 Andrew Cagney <cagney@redhat.com>
* valarith.c (value_subscripted_rvalue): Copy the array's REGNO to the result.
This commit is contained in:
parent
d55b850c07
commit
f49bacc80c
@ -1,3 +1,8 @@
|
|||||||
|
2003-03-08 Andrew Cagney <cagney@redhat.com>
|
||||||
|
|
||||||
|
* valarith.c (value_subscripted_rvalue): Copy the array's REGNO to
|
||||||
|
the result.
|
||||||
|
|
||||||
2003-03-07 Andrew Cagney <cagney@redhat.com>
|
2003-03-07 Andrew Cagney <cagney@redhat.com>
|
||||||
|
|
||||||
* gdbarch.sh: Don't generate two macro definitions when an
|
* gdbarch.sh: Don't generate two macro definitions when an
|
||||||
|
@ -276,6 +276,7 @@ value_subscripted_rvalue (struct value *array, struct value *idx, int lowerbound
|
|||||||
else
|
else
|
||||||
VALUE_LVAL (v) = VALUE_LVAL (array);
|
VALUE_LVAL (v) = VALUE_LVAL (array);
|
||||||
VALUE_ADDRESS (v) = VALUE_ADDRESS (array);
|
VALUE_ADDRESS (v) = VALUE_ADDRESS (array);
|
||||||
|
VALUE_REGNO (v) = VALUE_REGNO (array);
|
||||||
VALUE_OFFSET (v) = VALUE_OFFSET (array) + elt_offs;
|
VALUE_OFFSET (v) = VALUE_OFFSET (array) + elt_offs;
|
||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user