diff options
Diffstat (limited to 'gdb/ada-typeprint.c')
-rw-r--r-- | gdb/ada-typeprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ada-typeprint.c b/gdb/ada-typeprint.c index 2021edf..c6056a3 100644 --- a/gdb/ada-typeprint.c +++ b/gdb/ada-typeprint.c @@ -407,7 +407,7 @@ print_array_type (struct type *type, struct ui_file *stream, int show, { if (arr_type != type) fprintf_filtered (stream, ", "); - print_range (TYPE_INDEX_TYPE (arr_type), stream, + print_range (arr_type->index_type (), stream, 0 /* bounds_prefered_p */); if (TYPE_FIELD_BITSIZE (arr_type, 0) > 0) bitsize = TYPE_FIELD_BITSIZE (arr_type, 0); |