mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-03 04:01:22 +08:00
gdb: remove FIELD_TYPE macro
Remove the `FIELD_TYPE` macro, changing all the call sites to use `field::type` directly. gdb/ChangeLog: * gdbtypes.h (FIELD_TYPE): Remove. Change all call sites to use field::type instead. Change-Id: I7673fedaa276e485189c87991a9043495da22ef5
This commit is contained in:
@ -1147,8 +1147,8 @@ gdbscm_field_type (SCM self)
|
||||
struct field *field = tyscm_field_smob_to_field (f_smob);
|
||||
|
||||
/* A field can have a NULL type in some situations. */
|
||||
if (FIELD_TYPE (*field))
|
||||
return tyscm_scm_from_type (FIELD_TYPE (*field));
|
||||
if (field->type ())
|
||||
return tyscm_scm_from_type (field->type ());
|
||||
return SCM_BOOL_F;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user