mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-25 08:47:28 +00:00
gdb: remove TYPE_FIELD_NAME and FIELD_NAME macros
Remove the `TYPE_FIELD_NAME` and `FIELD_NAME` macros, changing all the call sites to use field::name directly. Change-Id: I6900ae4e1ffab1396e24fb3298e94bf123826ca6
This commit is contained in:
@@ -552,7 +552,7 @@ store_regs (struct type *regs_type, CORE_ADDR regs_base)
|
||||
|
||||
for (fieldno = 0; fieldno < regs_type->num_fields (); fieldno++)
|
||||
{
|
||||
const char *reg_name = TYPE_FIELD_NAME (regs_type, fieldno);
|
||||
const char *reg_name = regs_type->field (fieldno).name ();
|
||||
ULONGEST reg_bitpos = TYPE_FIELD_BITPOS (regs_type, fieldno);
|
||||
ULONGEST reg_bitsize = TYPE_FIELD_BITSIZE (regs_type, fieldno);
|
||||
ULONGEST reg_offset;
|
||||
|
||||
Reference in New Issue
Block a user