This is the mail archive of the mailing list for the GCC 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: PATCH to dwarf2/stabs output for virtual bases

On Fri, Nov 30, 2001 at 02:35:11AM +0000, Jason Merrill wrote:
> Debugging information for virtual bases has been broken since the move to
> the V3 abi; we've been giving the offset to the copy of the virtual base in
> a complete object of the derived type, which is not necessarily the same as
> the offset from any object of the derived type.  This patch fixes the
> dwarf2 output to tell the debugger explicitly how to find the virtual base,
> and changes the stabs output to specify the location within the vtable of
> the vbase offset.
> This does not work with current GDB, but I am told that it will soon.
> Similarly, GDB folks have asked that this patch go into 3.0.3 in order to
> work with a gdb 5.1.1 release.
> Tested i686-pc-linux-gnu.

I see that you applied this to the branch and then reverted it, and
nothing on the lists as to why - did it not work there?  Did someone

Also, there's no ChangeLog entry for the adding/reversion, which
confused me a bit.

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]