mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-14 19:23:40 +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:
@ -172,7 +172,7 @@ type_stack::follow_types (struct type *follow_type)
|
||||
lookup_array_range_type (follow_type,
|
||||
0, array_size >= 0 ? array_size - 1 : 0);
|
||||
if (array_size < 0)
|
||||
TYPE_HIGH_BOUND_KIND (TYPE_INDEX_TYPE (follow_type))
|
||||
TYPE_HIGH_BOUND_KIND (follow_type->index_type ())
|
||||
= PROP_UNDEFINED;
|
||||
break;
|
||||
case tp_function:
|
||||
|
Reference in New Issue
Block a user