gdb can't print array element for fortran
Tom Tromey
tromey@redhat.com
Mon Mar 15 20:52:00 GMT 2010
>>>>> "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
More information about the Gdb-patches
mailing list