mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
gdb: remove TYPE_FIELD_ARTIFICIAL
Replace with type::field + field::is_artificial. Change-Id: Ie3bacae49d9bd02e83e504c1ce01470aba56a081 Approved-By: Tom Tromey <tom@tromey.com>
This commit is contained in:

committed by
Simon Marchi

parent
6c0f749351
commit
454977cdc4
@ -197,7 +197,7 @@ convert_field (struct type *type, int field)
|
||||
if (PyObject_SetAttrString (result.get (), "name", arg.get ()) < 0)
|
||||
return NULL;
|
||||
|
||||
arg.reset (PyBool_FromLong (TYPE_FIELD_ARTIFICIAL (type, field)));
|
||||
arg.reset (PyBool_FromLong (type->field (field).is_artificial ()));
|
||||
if (PyObject_SetAttrString (result.get (), "artificial", arg.get ()) < 0)
|
||||
return NULL;
|
||||
|
||||
|
Reference in New Issue
Block a user