mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 06:17:47 +08:00
gdb: remove TYPE_FIELD_BITPOS
Remove TYPE_FIELD_BITPOS, replace its uses with type::field + field::loc_bitpos. Change-Id: Iccd8d5a77e5352843a837babaa6bd284162e0320
This commit is contained in:
@ -364,7 +364,7 @@ gnuv2_baseclass_offset (struct type *type, int index,
|
||||
CORE_ADDR addr;
|
||||
|
||||
field_type = check_typedef (type->field (i).type ());
|
||||
field_offset = TYPE_FIELD_BITPOS (type, i) / 8;
|
||||
field_offset = type->field (i).loc_bitpos () / 8;
|
||||
field_length = TYPE_LENGTH (field_type);
|
||||
|
||||
if (!value_bytes_available (val, embedded_offset + field_offset,
|
||||
|
Reference in New Issue
Block a user