mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 06:17:47 +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:
@ -944,7 +944,7 @@ compile_cplus_convert_enum (compile_cplus_instance *instance, struct type *type,
|
||||
continue;
|
||||
|
||||
instance->plugin ().build_enum_constant (result, fname.get (),
|
||||
TYPE_FIELD_ENUMVAL (type, i));
|
||||
type->field (i).loc_enumval ());
|
||||
}
|
||||
|
||||
/* Finish enum definition and pop scopes. */
|
||||
|
Reference in New Issue
Block a user