(value_subscripted_rvalue): Likewise.
* valops.c (search_struct_field, value_slice): Likewise.
+2004-11-21 Daniel Jacobowitz <dan@debian.org>
+
+ * valarith.c (value_subscript): Copy VALUE_FRAME_ID.
+ (value_subscripted_rvalue): Likewise.
+ * valops.c (search_struct_field, value_slice): Likewise.
+
2004-11-21 Mark Kettenis <kettenis@gnu.org>
* inf-ptrace.c: Don't include "regcache.h" and "gdbcmd.h".
if (VALUE_LVAL (array) == lval_internalvar)
VALUE_LVAL (v) = lval_internalvar_component;
VALUE_ADDRESS (v) = VALUE_ADDRESS (array);
+ VALUE_FRAME_ID (v) = VALUE_FRAME_ID (array);
v->offset = offset + value_offset (array);
return v;
}
VALUE_LVAL (v) = VALUE_LVAL (array);
VALUE_ADDRESS (v) = VALUE_ADDRESS (array);
VALUE_REGNUM (v) = VALUE_REGNUM (array);
+ VALUE_FRAME_ID (v) = VALUE_FRAME_ID (array);
v->offset = value_offset (array) + elt_offs;
return v;
}
{
VALUE_LVAL (v2) = VALUE_LVAL (arg1);
VALUE_ADDRESS (v2) = VALUE_ADDRESS (arg1);
+ VALUE_FRAME_ID (v2) = VALUE_FRAME_ID (arg1);
v2->offset = value_offset (arg1) + boffset;
if (VALUE_LAZY (arg1))
VALUE_LAZY (v2) = 1;
else
VALUE_LVAL (slice) = VALUE_LVAL (array);
VALUE_ADDRESS (slice) = VALUE_ADDRESS (array);
+ VALUE_FRAME_ID (slice) = VALUE_FRAME_ID (array);
slice->offset = value_offset (array) + offset;
}
return slice;