diff options
Diffstat (limited to 'gdb/compile/compile-c-symbols.c')
-rw-r--r-- | gdb/compile/compile-c-symbols.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/compile/compile-c-symbols.c b/gdb/compile/compile-c-symbols.c index 758b12d..84148fa 100644 --- a/gdb/compile/compile-c-symbols.c +++ b/gdb/compile/compile-c-symbols.c @@ -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; |