mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-25 11:16:56 +08:00
gdb: remove TYPE_INDEX_TYPE macro
Remove `TYPE_INDEX_TYPE` macro, changing all the call sites to use `type::index_type` directly. gdb/ChangeLog: * gdbtypes.h (TYPE_INDEX_TYPE): Remove. Change all call sites to use type::index_type instead. Change-Id: I56715df0bdec89463cda6bd341dac0e01b2faf84
This commit is contained in:
@ -592,8 +592,8 @@ typy_range (PyObject *self, PyObject *args)
|
||||
{
|
||||
case TYPE_CODE_ARRAY:
|
||||
case TYPE_CODE_STRING:
|
||||
low = TYPE_LOW_BOUND (TYPE_INDEX_TYPE (type));
|
||||
high = TYPE_HIGH_BOUND (TYPE_INDEX_TYPE (type));
|
||||
low = TYPE_LOW_BOUND (type->index_type ());
|
||||
high = TYPE_HIGH_BOUND (type->index_type ());
|
||||
break;
|
||||
case TYPE_CODE_RANGE:
|
||||
low = TYPE_LOW_BOUND (type);
|
||||
|
Reference in New Issue
Block a user