mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 01:45:52 +08:00
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:
@ -189,7 +189,7 @@ convert_field (struct type *type, int field)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (TYPE_FIELD_LOC_KIND (type, field) == FIELD_LOC_KIND_DWARF_BLOCK)
|
||||
if (type->field (field).loc_kind () == FIELD_LOC_KIND_DWARF_BLOCK)
|
||||
arg = gdbpy_ref<>::new_reference (Py_None);
|
||||
else
|
||||
arg = gdb_py_object_from_longest (TYPE_FIELD_BITPOS (type, field));
|
||||
|
Reference in New Issue
Block a user