This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: gdb can't print array element for fortran
- From: Tom Tromey <tromey at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: Chandru <chandru at in dot ibm dot com>, gdb-patches at sourceware dot org
- Date: Mon, 15 Mar 2010 14:51:48 -0600
- Subject: Re: gdb can't print array element for fortran
- References: <201003121836.24712.chandru@in.ibm.com> <20100315171325.GN3045@adacore.com>
- Reply-to: tromey at redhat dot com
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
>> This mail pertains to the discussion had on gdb mailing list sometime
>> back here http://sourceware.org/ml/gdb-patches/2009-01/msg00251.html.
>> After a small discussion with Jan I made the following changes and
>> these didn't seem to work. Any inputs or thoughts would be helpful.
Joel> Does anyone else have an opinion on this patch. It looks wrong to me
Joel> (sorry Chandru): Arrays with a high bound that's less than the low bound
Joel> can exist, at least in Ada. It's just an empty array.
Additionally, if the proposed changes don't actually work, I guess some
other approach is needed anyhow.
Joel> I haven't looked at Jan's work for the Fortran VLA stuff in a while,
Joel> so I can't remember how he dealt with this issue. But I think his
Joel> approach might be more correct.
I too have lost track of this, but my impression is that Jan's current
patch is rather larger.
Tom