gdb: remove FIELD_STATIC_PHYSNAME macro

Remove FIELD_STATIC_PHYSNAME, replace its uses with field::loc_physname.

Change-Id: Iaa8952410403b4eb5bbd68411feea27e2405d657
This commit is contained in:
Simon Marchi 2021-09-23 23:47:42 -04:00
parent 5d2038e3f5
commit 16654a591a
3 changed files with 4 additions and 5 deletions

View file

@ -4226,8 +4226,8 @@ check_types_equal (struct type *type1, struct type *type2,
return false;
break;
case FIELD_LOC_KIND_PHYSNAME:
if (!compare_maybe_null_strings (FIELD_STATIC_PHYSNAME (*field1),
FIELD_STATIC_PHYSNAME (*field2)))
if (!compare_maybe_null_strings (field1->loc_physname (),
field2->loc_physname ()))
return false;
break;
case FIELD_LOC_KIND_DWARF_BLOCK: