This is the mail archive of the gdb@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: Custom call frame description


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


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