mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
gdb: remove FIELD_ENUMVAL macro
Remove FIELD_ENUMVAL, replace its uses with field::loc_enumval. Change-Id: Id4861cee91a8bb583a9836f1aa5da0a320fbf4d9
This commit is contained in:
@ -1166,7 +1166,7 @@ gdbscm_field_enumval (SCM self)
|
||||
SCM_ASSERT_TYPE (type->code () == TYPE_CODE_ENUM,
|
||||
self, SCM_ARG1, FUNC_NAME, _("enum type"));
|
||||
|
||||
return scm_from_long (FIELD_ENUMVAL (*field));
|
||||
return scm_from_long (field->loc_enumval ());
|
||||
}
|
||||
|
||||
/* (field-bitpos <gdb:field>) -> integer
|
||||
|
Reference in New Issue
Block a user