This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] cp-valprint.c: Improve virtual table printing with stabs gcc-2.95.2
On Fri, Mar 15, 2002 at 11:44:01AM +0100, Peter.Schauer wrote:
> Having `set print vtable on' and printing an object is often a great
> debugging aid, as it shows which virtual functions will actually be called.
> Unfortunately gcc-2.95.2 changed the format of the virtual function tables
> and GDB had not been updated accordingly.
> gcc-3.x will need more GDB code surgery, I hope to address this in a future
> patch.
> GDB will unfortunately also loose with vtable thunks and dwarf2, but anyway,
> this patch at least improves vtable handling for gcc-2.95.2 with stabs.
>
> OK to commit ?
Yes, thank you.
> 2002-03-15 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
>
> * cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type
> for gcc versions after gcc-2.8.1.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer