mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 09:14:14 +08: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:
@ -2933,7 +2933,7 @@ value_static_field (struct type *type, int fieldno)
|
||||
case FIELD_LOC_KIND_PHYSNAME:
|
||||
{
|
||||
const char *phys_name = TYPE_FIELD_STATIC_PHYSNAME (type, fieldno);
|
||||
/* TYPE_FIELD_NAME (type, fieldno); */
|
||||
/* type->field (fieldno).name (); */
|
||||
struct block_symbol sym = lookup_symbol (phys_name, 0, VAR_DOMAIN, 0);
|
||||
|
||||
if (sym.symbol == NULL)
|
||||
|
Reference in New Issue
Block a user