gdb: remove TYPE_FIELD_LOC_KIND
Remove TYPE_FIELD_LOC_KIND, replace its uses with type::field + field::loc_kind. Change-Id: Ib124a26365df82ac1d23df7962d954192913bd90
This commit is contained in:
parent
d8557c3d22
commit
2ad53ea10c
10 changed files with 18 additions and 18 deletions
|
@ -599,7 +599,7 @@ compile_cplus_convert_struct_or_union_members
|
|||
{
|
||||
CORE_ADDR physaddr;
|
||||
|
||||
switch (TYPE_FIELD_LOC_KIND (type, i))
|
||||
switch (type->field (i).loc_kind ())
|
||||
{
|
||||
case FIELD_LOC_KIND_PHYSADDR:
|
||||
{
|
||||
|
@ -939,7 +939,7 @@ compile_cplus_convert_enum (compile_cplus_instance *instance, struct type *type,
|
|||
gdb::unique_xmalloc_ptr<char> fname
|
||||
= compile_cplus_instance::decl_name (type->field (i).name ());
|
||||
|
||||
if (TYPE_FIELD_LOC_KIND (type, i) != FIELD_LOC_KIND_ENUMVAL
|
||||
if (type->field (i).loc_kind () != FIELD_LOC_KIND_ENUMVAL
|
||||
|| fname == nullptr)
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue