mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
gdb: remove TYPE_FIELD_BITSIZE
Replace with type::field + field::bitsize. Change-Id: I2a24755a33683e4a2775a6d2a7b7a9ae7362e43a Approved-By: Tom Tromey <tom@tromey.com>
This commit is contained in:
committed by
Simon Marchi
parent
3be8c91910
commit
3757d2d44f
@@ -1323,7 +1323,7 @@ gen_primitive_field (struct agent_expr *ax, struct axs_value *value,
|
||||
+ type->field (fieldno).loc_bitpos ()),
|
||||
(offset * TARGET_CHAR_BIT
|
||||
+ type->field (fieldno).loc_bitpos ()
|
||||
+ TYPE_FIELD_BITSIZE (type, fieldno)));
|
||||
+ type->field (fieldno).bitsize ()));
|
||||
else
|
||||
{
|
||||
gen_offset (ax, offset
|
||||
|
||||
Reference in New Issue
Block a user