forked from Imagelibrary/binutils-gdb
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:
@@ -516,7 +516,7 @@ generate_vla_size (compile_instance *compiler,
|
||||
|
||||
case TYPE_CODE_ARRAY:
|
||||
generate_vla_size (compiler, stream, gdbarch, registers_used, pc,
|
||||
TYPE_INDEX_TYPE (type), sym);
|
||||
type->index_type (), sym);
|
||||
generate_vla_size (compiler, stream, gdbarch, registers_used, pc,
|
||||
TYPE_TARGET_TYPE (type), sym);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user