mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 11:39:26 +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:
@ -294,7 +294,7 @@ static int
|
||||
vb_match (struct type *type, int index, struct type *basetype)
|
||||
{
|
||||
struct type *fieldtype;
|
||||
const char *name = TYPE_FIELD_NAME (type, index);
|
||||
const char *name = type->field (index).name ();
|
||||
const char *field_class_name = NULL;
|
||||
|
||||
if (*name != '_')
|
||||
|
Reference in New Issue
Block a user