This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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 progress


>>>>> "Daniel" == Daniel Jacobowitz <dmj+@andrew.cmu.edu> writes:

> OK, if I'm reading this at all correctly, the offset in the baseclass
> definition is assumed to be 0 for a virtual baseclass, and ignored; it
> is assumed that there will be a $vb later.  So that offset slot is a
> perfect place to put the information I need.  Just let me know if it is
> relative to the start of the vtable or to the vtable pointer.  That'll
> be enough information to do a much better job.

The vtable pointer.

> I should add: is there some way we can disambiguate correct and
> incorrect debug info after this fix?  For Dwarf2 I see how to do it
> pretty easily.  Would an explicit minus sign work?  I think GDB won't
> croak on that.

That would be fine; just remove the negation from the dbxout.c patch.

Jason


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