mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-24 02:37:23 +08:00
Delete TYPE_CODE_CLASS, it's just an alias of TYPE_CODE_STRUCT.
gdb/ChangeLog: * gdbtypes.h (TYPE_CODE_CLASS): Delete. All uses changed to use TYPE_CODE_STRUCT.
This commit is contained in:
@ -232,7 +232,7 @@ convert_field (struct type *type, int field)
|
||||
goto failarg;
|
||||
Py_DECREF (arg);
|
||||
|
||||
if (TYPE_CODE (type) == TYPE_CODE_CLASS)
|
||||
if (TYPE_CODE (type) == TYPE_CODE_STRUCT)
|
||||
arg = field < TYPE_N_BASECLASSES (type) ? Py_True : Py_False;
|
||||
else
|
||||
arg = Py_False;
|
||||
|
Reference in New Issue
Block a user