gdb: remove FIELD_STATIC_PHYSADDR macro

Remove FIELD_LOC_KIND_PHYSADDR, replace its uses with
field::loc_physaddr.

Change-Id: Ifd8b2bdaad75f42bfb1404ef8c396ffe7e10ac55
This commit is contained in:
Simon Marchi 2021-09-23 23:50:02 -04:00
parent 16654a591a
commit 31a1516a81
3 changed files with 3 additions and 5 deletions

View file

@ -4221,8 +4221,7 @@ check_types_equal (struct type *type1, struct type *type2,
have a type. */
continue;
case FIELD_LOC_KIND_PHYSADDR:
if (FIELD_STATIC_PHYSADDR (*field1)
!= FIELD_STATIC_PHYSADDR (*field2))
if (field1->loc_physaddr () != field2->loc_physaddr ())
return false;
break;
case FIELD_LOC_KIND_PHYSNAME: