PATCH: Start Fortran support for variable objects.
Nick Roberts
nickrob@snap.net.nz
Thu Jun 30 22:21:00 GMT 2005
> Well, that's what was SUPPOSED to happen, anyway.
>
> <1><a52>: Abbrev Number: 4 (DW_TAG_array_type)
> DW_AT_sibling : <a62>
> DW_AT_type : <a62>
> <2><a5b>: Abbrev Number: 5 (DW_TAG_subrange_type)
> DW_AT_type : <a62>
> DW_AT_upper_bound : 4
This is Dwarf output? Using something like readelf? (I'm just guessing).
> I would have expected there to be a lower bound also... but there just
> isn't. Your patch is more or less OK. Let me reply to it to pick up
> some formatting comments.
For future reference, are you saying that there should be some internal
representation for arrays that GDB uses which should describe the offset;
that this could be used to print the variable object without reference
to the language; and that this method should work with other unsupported
(by varobj.c) languages like Pascal, for example?
Nick
More information about the Gdb-patches
mailing list