mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 06:17:47 +08:00
Turn value_parent into method
This changes value_parent 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:
@ -171,7 +171,7 @@ rw_pieced_value (value *v, value *from, bool check_optimized)
|
||||
ULONGEST bits_to_skip = 8 * value_offset (v);
|
||||
if (v->bitsize ())
|
||||
{
|
||||
bits_to_skip += (8 * value_offset (value_parent (v))
|
||||
bits_to_skip += (8 * value_offset (v->parent ())
|
||||
+ v->bitpos ());
|
||||
if (from != nullptr
|
||||
&& (type_byte_order (from->type ())
|
||||
|
Reference in New Issue
Block a user