gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 12 Jan 2011 16:16:24 +0000 (16:16 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 12 Jan 2011 16:16:24 +0000 (16:16 +0000)
commitc2ff108bbd19e8855e4c5318acd166a06c566b63
tree8f4e4162906951bf7a0646f4312b4158e56ad294
parent41e8491fdf450e560451afb71c2d6c20708f78d6
gdb/
PR fortran/11104 and DWARF unbound arrays detection.
* dwarf2read.c (read_subrange_type): Set zero length on unspecified
upper bound.  Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
unspecified upper bound.
* eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
variables array_size_array, tmp_type and offset_item.  New variable
array.  Remove call to f77_get_upperbound.  New variables array_type
and index.  Call value_subscripted_rvalue for each dimenasion.  Remove
the final call to deprecated_set_value_type.

gdb/testsuite/
PR fortran/11104 and DWARF unbound arrays detection.
* gdb.fortran/multi-dim.exp: New file.
* gdb.fortran/multi-dim.f90: New file.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/eval.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.fortran/multi-dim.exp [new file with mode: 0644]
gdb/testsuite/gdb.fortran/multi-dim.f90 [new file with mode: 0644]