forked from Imagelibrary/binutils-gdb
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:
@@ -637,7 +637,7 @@ print_field_values (struct value *value, struct value *outer_value,
|
||||
else
|
||||
{
|
||||
struct value *v;
|
||||
int bit_pos = TYPE_FIELD_BITPOS (type, i);
|
||||
int bit_pos = type->field (i).loc_bitpos ();
|
||||
int bit_size = TYPE_FIELD_BITSIZE (type, i);
|
||||
struct value_print_options opts;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user