From e06c3e112eefd357b2531b53d0d8e87619fceb95 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Sun, 26 Sep 2021 21:07:04 -0400 Subject: gdb: remove TYPE_FIELD_STATIC_PHYSADDR Remove TYPE_FIELD_STATIC_PHYSADDR replace with type::field + field::loc_physaddr. Change-Id: Ica9bc4a48f34750ec82ec86c298d3ecece81bcbd --- gdb/compile/compile-cplus-types.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/compile') diff --git a/gdb/compile/compile-cplus-types.c b/gdb/compile/compile-cplus-types.c index 31634a9..cd389c8 100644 --- a/gdb/compile/compile-cplus-types.c +++ b/gdb/compile/compile-cplus-types.c @@ -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, -- cgit v1.1