This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 2/2] Multi-dimensional arrays issue (PR fortran/11104)
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Andrew Burgess <aburgess at broadcom dot com>
- Date: Tue, 11 Jan 2011 09:50:35 -0700
- Subject: Re: [patch 2/2] Multi-dimensional arrays issue (PR fortran/11104)
- References: <20110106120302.GA32416@host1.dyn.jankratochvil.net>
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> 2011-01-06 Andrew Burgess <aburgess@broadcom.com>
Jan> Jan Kratochvil <jan.kratochvil@redhat.com>
Jan> PR fortran/11104 and DWARF unbound arrays detection.
Jan> * dwarf2read.c (read_subrange_type): Set zero length on unspecified
Jan> upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
Jan> unspecified upper bound.
Jan> * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
Jan> variables array_size_array, tmp_type and offset_item. New variable
Jan> array. Remove call to f77_get_upperbound. New variables array_type
Jan> and index. Call value_subscripted_rvalue for each dimenasion. Remove
Jan> the final call to deprecated_set_value_type.
I read this and at least the parts that I understood make sense to me :)
I think you should go ahead with it.
Tom