mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-30 15:56:36 +08:00
gdb: remove TYPE_FIELD_ENUMVAL
Remove TYPE_FIELD_ENUMVAL, replace with type::field + field::loc_enumval. Change-Id: I2ada73e4635aad3363ce2eb22c1dc52698ee2072
This commit is contained in:
@ -184,7 +184,7 @@ convert_field (struct type *type, int field)
|
||||
|
||||
if (type->code () == TYPE_CODE_ENUM)
|
||||
{
|
||||
arg = gdb_py_object_from_longest (TYPE_FIELD_ENUMVAL (type, field));
|
||||
arg = gdb_py_object_from_longest (type->field (field).loc_enumval ());
|
||||
attrstring = "enumval";
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user