c++ debugging hosed

Daniel Jacobowitz drow@mvista.com
Mon Nov 26 17:18:00 GMT 2001


On Mon, Nov 26, 2001 at 07:53:24PM -0500, Daniel Berlin wrote:
> Then looking above it at vb_match.
> 
> It's, in fact, the most abi specific stuff still left for C++.
> 
> 
> It happens to basically work for non-virtual classes, but it couldn't
> possibly work for virtual baseclasses (IE even if you pulled some magic in gcc to make
> it still output the things vb_match was looking for, it wouldn't work
> anyway.).
> 
> 
> baseclass offset finding is a fundamental piece of C++ support in gdb.
> It's required for printing things, calling methods, etc.

Yes.  But not, most of the time, through this function.

I agree that it needs to be fixed.  I'll be back here in a few days, I
expect.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer



More information about the Libstdc++ mailing list