From: Tom Tromey <tromey@redhat.com>
To: Mitar <mmitar@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: Custom call frame description
Date: Wed, 27 Jan 2010 19:39:00 -0000 [thread overview]
Message-ID: <m3fx5rcp81.fsf@fleche.redhat.com> (raw)
In-Reply-To: <f63c4b2d1001271133w73d18e7fi3799e1a80ac24669@mail.gmail.com> (Mitar's message of "Wed, 27 Jan 2010 20:33:42 +0100")
>>>>> "Mitar" == Mitar <mmitar@gmail.com> writes:
Tom> The subrange type defines the range of the array, not the type of the
Tom> array's elements. See the DWARF spec for stuff like this; I found the
Tom> answer by just searching for DW_TAG_subrange_type.
Mitar> The subrange entry may have a DW_AT_type attribute to describe
Mitar> the type of object, called the basis type, of whose values this
Mitar> subrange is a subset.
Mitar> And from that I understand that it is meant to describe a base type of
Mitar> an array, that is a type of an each element.
I can see why you might think that, but I don't think that is the
correct interpretation.
The DW_TAG_subrange_type describes the range of array indices, like
0..4. Therefore the base type of the subrange is an integer.
The type of elements of the array is described by a different attribute.
Tom
next prev parent reply other threads:[~2010-01-27 19:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-20 20:49 Mitar
2010-01-22 16:42 ` Tom Tromey
2010-01-25 9:33 ` Mitar
2010-01-26 8:31 ` Mitar
2010-01-27 15:23 ` Mitar
2010-01-27 15:58 ` Tom Tromey
2010-01-27 19:33 ` Mitar
2010-01-27 19:39 ` Tom Tromey [this message]
2010-01-27 19:39 ` Daniel Jacobowitz
2010-01-27 21:07 ` Mitar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3fx5rcp81.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb@sourceware.org \
--cc=mmitar@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox