From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12062 invoked by alias); 12 Sep 2005 01:35:47 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 12044 invoked by uid 22791); 12 Sep 2005 01:35:42 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 12 Sep 2005 01:35:42 +0000 Received: from drow by nevyn.them.org with local (Exim 4.52) id 1EEdER-0002uD-8h; Sun, 11 Sep 2005 21:35:39 -0400 Date: Mon, 12 Sep 2005 01:35:00 -0000 From: Daniel Jacobowitz To: Jim Blandy Cc: Craig Jeffree , gdb@sources.redhat.com Subject: Re: Message-ID: <20050912013539.GB10666@nevyn.them.org> Mail-Followup-To: Jim Blandy , Craig Jeffree , gdb@sources.redhat.com References: <1125021866.10500.71.camel@norman> <1125301769.10500.124.camel@norman> <1125618911.8327.53.camel@norman> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-SW-Source: 2005-09/txt/msg00066.txt.bz2 On Thu, Sep 01, 2005 at 05:20:51PM -0700, Jim Blandy wrote: > >> (I'm apparently wrong about the DW_AT_name being mangled. Does the > >> DW_AT_containing_type attribute of the first die point at something > >> named "Soi"?) > > > > The containing type for 'Waypoint' points to a die that appears to > > describe Waypoint's base class. > > That's odd. The Dwarf 3 spec only mentions DW_AT_containing_type in > the context of dies describing pointer-to-member types. So the > attribute wasn't what I guessed it was, but it also doesn't belong > there. This is a GNUism, and a very bad one nowadays, especially since GDB relies on it. I have queued up behind my other pending DWARF patches some fixes for that. For GCC, DW_AT_containing_type is the type containing the class's vtable pointer. -- Daniel Jacobowitz CodeSourcery, LLC