gdb: remove TYPE_INDEX_TYPE macro
[deliverable/binutils-gdb.git] / gdb / valprint.c
index ca7dab680aef1b9b3a569ea144d9aca79957c02a..7051fcef13f68e131d3faa922ec9a4b4605eeb22 100644 (file)
@@ -1875,7 +1875,7 @@ value_print_array_elements (struct value *val, struct ui_file *stream,
 
   elttype = TYPE_TARGET_TYPE (type);
   eltlen = type_length_units (check_typedef (elttype));
-  index_type = TYPE_INDEX_TYPE (type);
+  index_type = type->index_type ();
   if (index_type->code () == TYPE_CODE_RANGE)
     index_type = TYPE_TARGET_TYPE (index_type);
 
This page took 0.028465 seconds and 4 git commands to generate.