Custom call frame description

Mitar mmitar@gmail.com
Wed Jan 27 19:33:00 GMT 2010


Hi!

On Wed, Jan 27, 2010 at 4:58 PM, Tom Tromey <tromey@redhat.com> wrote:
> The subrange type defines the range of the array, not the type of the
> array's elements.  See the DWARF spec for stuff like this; I found the
> answer by just searching for DW_TAG_subrange_type.

I do read it all the time. It is written in 2.0 version:

The subrange entry may have a DW_AT_type attribute to describe the
type of object of whose
values this subrange is a subset.

And in 3.0 version:

The subrange entry may have a DW_AT_type attribute to describe the
type of object, called the
basis type, of whose values this subrange is a subset.

And from that I understand that it is meant to describe a base type of
an array, that is a type of an each element.


Mitar



More information about the Gdb mailing list