gdb: remove TYPE_FIELD_STATIC_PHYSADDR

Remove TYPE_FIELD_STATIC_PHYSADDR replace with type::field +
field::loc_physaddr.

Change-Id: Ica9bc4a48f34750ec82ec86c298d3ecece81bcbd
This commit is contained in:
Simon Marchi 2021-09-26 21:07:04 -04:00
parent fcbbbd90f0
commit e06c3e112e
5 changed files with 4 additions and 5 deletions

View file

@ -603,7 +603,7 @@ compile_cplus_convert_struct_or_union_members
{
case FIELD_LOC_KIND_PHYSADDR:
{
physaddr = TYPE_FIELD_STATIC_PHYSADDR (type, i);
physaddr = type->field (i).loc_physaddr ();
instance->plugin ().build_decl
("field physaddr", field_name,