mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-25 16:57:52 +00: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:
@@ -115,7 +115,7 @@ convert_struct_or_union (compile_c_instance *context, struct type *type)
|
||||
type->field (i).name (),
|
||||
field_type,
|
||||
bitsize,
|
||||
TYPE_FIELD_BITPOS (type, i));
|
||||
type->field (i).loc_bitpos ());
|
||||
}
|
||||
|
||||
context->plugin ().finish_record_or_union (result, TYPE_LENGTH (type));
|
||||
|
||||
Reference in New Issue
Block a user