This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
vtable?
- From: Chris Moller <moller at nc dot rr dot com>
- To: Project Archer <archer at sourceware dot org>
- Date: Thu, 14 Jan 2010 13:01:38 -0500
- Subject: vtable?
I'm hacking on bz 9629 "GDB fails to display the base class through the
derived class if the derived class contains more than one vptr for
virtual function." http://sourceware.org/bugzilla/show_bug.cgi?id=9629
One of my guesses of the moment is that under the circumstances of the
bug, the "vtable" is either being built wrong or is somehow being
corrupted--does anyone have a clue where the "vtable" is built? I'd've
thought in dwarf2read.c, but if it's there it's not obvious (at least to
me...).
Another guess is that in gnuv3_baseclass_offset, gnuv3_get_vtable is
being called with a bad type argument, but I haven't looked into that yet.
Thanks,
Chris