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


On Wed, Jan 27, 2010 at 08:33:42PM +0100, Mitar wrote:
> 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.

No, the *subrange* is a subset of the basis type.  For instance, the
subrange may be the range [0, 7), with a basis type of int because int
is big enough to hold [0, 7).  The type of the subrange is generally
uninteresting for C-like languages.

-- 
Daniel Jacobowitz
CodeSourcery


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