From: David Carlton <carlton@math.stanford.edu>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: gdb <gdb@sources.redhat.com>, Elena Zannoni <ezannoni@redhat.com>,
Jim Blandy <jimb@redhat.com>
Subject: Re: DW_AT_containing_type
Date: Thu, 12 Jun 2003 18:16:00 -0000 [thread overview]
Message-ID: <ro1vfvb5fhd.fsf@jackfruit.Stanford.EDU> (raw)
In-Reply-To: <20030612180714.GA19092@nevyn.them.org>
On Thu, 12 Jun 2003 14:07:14 -0400, Daniel Jacobowitz <drow@mvista.com> said:
> On Thu, Jun 12, 2003 at 10:56:50AM -0700, David Carlton wrote:
>> What's with GDB's and GCC's use of DW_AT_containing type? As far as I
>> can tell, it's only supposed to be used within
>> DW_TAG_ptr_to_member_type, but GCC generates it and GDB uses it in
>> many other contexts.
> We are misusing it. See the GCC source for a comment explaining
> this GNU extension. We use it to indicate which base type contains
> the vtable pointer for the derived class; there are a number of
> other ways to do it, and at one point we should switch to another
> way.
Ah, thanks for the explanation.
David Carlton
carlton@math.stanford.edu
prev parent reply other threads:[~2003-06-12 18:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-12 17:56 DW_AT_containing_type David Carlton
2003-06-12 18:07 ` DW_AT_containing_type Daniel Jacobowitz
2003-06-12 18:16 ` David Carlton [this message]
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=ro1vfvb5fhd.fsf@jackfruit.Stanford.EDU \
--to=carlton@math.stanford.edu \
--cc=drow@mvista.com \
--cc=ezannoni@redhat.com \
--cc=gdb@sources.redhat.com \
--cc=jimb@redhat.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