[RFA/DWARF] Add DW_AT_GNAT_descriptive_type support

Jan Kratochvil jan.kratochvil@redhat.com
Fri Dec 25 09:40:00 GMT 2009

On Fri, 25 Dec 2009 05:06:46 +0100, Joel Brobecker wrote:
> Or arrays, where you need to access a parallel ___XA type. Etc.

      --  Since there is no way for the debugger to obtain the index subtypes
      --  for an array type, we produce a type that has the name of the
      --  array type followed by "___XA" and is a record whose field names
      --  are the names of the types for the bounds.

There is DW_TAG_array_type(DW_TAG_subrange_type->DW_AT_type) for this purpose
IMHO.  But yes, you have said it is possible to do it the DWARF way.

> But this effort seems to be always stalled in favor of other, more urgent
> ones.  It's an effort that is actually dear to me, since I very much dislike
> this encoding.

OK, np, fine with me, fully understood.  I just missed some note about the
reasons for this patch.


More information about the Gdb-patches mailing list