This is the mail archive of the
mailing list for the GCC project.
Re: PATCH to dwarf2/stabs output for virtual bases
- From: Daniel Jacobowitz <dmj+ at andrew dot cmu dot edu>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 1 Dec 2001 19:27:53 -0500
- Subject: Re: PATCH to dwarf2/stabs output for virtual bases
- References: <email@example.com>
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