mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 16:05:56 +08:00
Turn value_offset into method
This changes value_offset to be a method of value. Much of this patch was written by script. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@ -2838,7 +2838,7 @@ ada_value_primitive_packed_val (struct value *obj, const gdb_byte *valaddr,
|
||||
++new_offset;
|
||||
v->set_bitpos (v->bitpos () - HOST_CHAR_BIT);
|
||||
}
|
||||
set_value_offset (v, new_offset);
|
||||
v->set_offset (new_offset);
|
||||
|
||||
/* Also set the parent value. This is needed when trying to
|
||||
assign a new value (in inferior memory). */
|
||||
|
Reference in New Issue
Block a user