mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +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:
@ -894,7 +894,7 @@ ada_tasks_inferior_data_sniffer (struct ada_tasks_inferior_data *data)
|
||||
eltype = check_typedef (TYPE_TARGET_TYPE (type));
|
||||
if (eltype != NULL
|
||||
&& eltype->code () == TYPE_CODE_PTR)
|
||||
idxtype = check_typedef (TYPE_INDEX_TYPE (type));
|
||||
idxtype = check_typedef (type->index_type ());
|
||||
if (idxtype != NULL
|
||||
&& !TYPE_LOW_BOUND_UNDEFINED (idxtype)
|
||||
&& !TYPE_HIGH_BOUND_UNDEFINED (idxtype))
|
||||
|
Reference in New Issue
Block a user