This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb crash when printing C++ class


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).

-- 
Daniel Jacobowitz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]