From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Merrill To: Daniel Jacobowitz Cc: libstdc++@gcc.gnu.org, gdb@sources.redhat.com Subject: Re: C++ debugging progress Date: Wed, 28 Nov 2001 13:14:00 -0000 Message-ID: References: <20011128020256.A9688@nevyn.them.org> <20011128124118.A23447@nevyn.them.org> <20011128151819.A31514@nevyn.them.org> X-SW-Source: 2001-11/msg00325.html Message-ID: <20011128131400.vopapGwHQF-DwMDTlZgQgLcxSFTTqWdr3FZ0wO6Mtk4@z> >>>>> "Daniel" == Daniel Jacobowitz 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