From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9263 invoked by alias); 10 Dec 2004 21:46:51 -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 8770 invoked from network); 10 Dec 2004 21:46:44 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 10 Dec 2004 21:46:44 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1Ccsb2-0005TS-HN; Fri, 10 Dec 2004 16:46:40 -0500 Date: Fri, 10 Dec 2004 21:46:00 -0000 From: Daniel Jacobowitz To: Kris Warkentin Cc: gdb@sources.redhat.com Subject: Re: gdb crash when printing C++ class Message-ID: <20041210214640.GA20905@nevyn.them.org> Mail-Followup-To: Kris Warkentin , gdb@sources.redhat.com References: <41BA0117.40407@qnx.com> <20041210202108.GA7717@nevyn.them.org> <41BA1487.8030302@qnx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41BA1487.8030302@qnx.com> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-12/txt/msg00077.txt.bz2 On Fri, Dec 10, 2004 at 04:26:31PM -0500, Kris Warkentin wrote: > I compared the vptr entries in the readelf -wi output from gcc vs. icc > and they're certainly different. I don't have enough understanding yet > to know what differences are signifigant but hopefully looking at the > dwarf2 reader will enlighten me. I've attached the readelf output just > in case someone wants to take a look for anything obvious. Thanks. GNU's use of DW_AT_containing_type for this is somewhat nonstandard. You'll have to find another way to work out where the vptr is for the ICC output. You may want to do it by the C++ ABI rather than by the debug info. -- Daniel Jacobowitz