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: c++ debugging hosed


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


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