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:
parent
262abc0d67
commit
3d967001ec
27 changed files with 81 additions and 78 deletions
|
@ -882,8 +882,8 @@ rust_internal_print_type (struct type *type, const char *varstring,
|
|||
stream, show - 1, level, flags, false,
|
||||
podata);
|
||||
|
||||
if (TYPE_HIGH_BOUND_KIND (TYPE_INDEX_TYPE (type)) == PROP_LOCEXPR
|
||||
|| TYPE_HIGH_BOUND_KIND (TYPE_INDEX_TYPE (type)) == PROP_LOCLIST)
|
||||
if (TYPE_HIGH_BOUND_KIND (type->index_type ()) == PROP_LOCEXPR
|
||||
|| TYPE_HIGH_BOUND_KIND (type->index_type ()) == PROP_LOCLIST)
|
||||
fprintf_filtered (stream, "; variable length");
|
||||
else if (get_array_bounds (type, &low_bound, &high_bound))
|
||||
fprintf_filtered (stream, "; %s",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue