From: Kris Warkentin <kewarken@qnx.com>
To: gdb@sources.redhat.com
Subject: Re: gdb crash when printing C++ class
Date: Fri, 10 Dec 2004 21:44:00 -0000 [thread overview]
Message-ID: <41BA1978.1040509@qnx.com> (raw)
In-Reply-To: <20041210202108.GA7717@nevyn.them.org>
I compared the vptr entries in the readelf -wi output from gcc vs. icc
and they're certainly different. I sent the gcc vs. icc output files to
Daniel directly - a little too big for the mailing list. If anyone else
wants them, let me know. My knowledge isn't deep enough to tell which
differences are significant.
I set a breakpoint in dwarf2read.c at the point where the vptr basetype
is set and what do you know? With the icc generated code, it's never
hit. I've got the dwarf-2 specification printed out here...I guess I'm
going to have to figure out what the heck a DIE is and all the other
stuff I wish I didn't need to know. ;-)
cheers,
Kris
Daniel Jacobowitz wrote:
>On Fri, Dec 10, 2004 at 03:03:35PM -0500, Kris Warkentin wrote:
>
>
>>Where was the vptr_basetype set up in the first place? Since type
>>
>>
>
>Take a look at the dwarf2 reader. TYPE_VPTR_BASETYPE.
>
>
>
>>claims to have a baseclass, logically the baseclass pointer shouldn't be
>>void so I'm assuming it just didn't get filled in somewhere. Can anyone
>>give me any hints on how to determine if Intel's debug info is off?
>>
>>
>
>It's probably not wrong, just different. Please show an example
>(readelf -wi will dump it).
>
>
>
next prev parent reply other threads:[~2004-12-10 21:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-10 20:00 Kris Warkentin
2004-12-10 20:21 ` Daniel Jacobowitz
2004-12-10 21:44 ` Kris Warkentin [this message]
[not found] ` <41BA1487.8030302@qnx.com>
2004-12-10 21:46 ` Daniel Jacobowitz
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=41BA1978.1040509@qnx.com \
--to=kewarken@qnx.com \
--cc=gdb@sources.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