This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb can't print array element for fortran


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]