This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Crash regression [Re: [4/5] implement "info vtable"]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Pedro Alves <palves at redhat dot com>, gdb-patches at sourceware dot org
- Date: Fri, 16 Mar 2012 09:10:05 +0100
- Subject: Crash regression [Re: [4/5] implement "info vtable"]
- References: <87mx82prmd.fsf@fleche.redhat.com> <4F4F8D39.60507@redhat.com> <874ntpdg5s.fsf@fleche.redhat.com>
On Thu, 15 Mar 2012 16:42:39 +0100, Tom Tromey wrote:
> Here's what I am checking in.
>
> Tom
>
> 2012-03-15 Tom Tromey <tromey@redhat.com>
>
> * gnu-v3-abi.c (struct value_and_voffset): New.
> (hash_value_and_voffset, eq_value_and_voffset)
> (compare_value_and_voffset, compute_vtable_size)
> (print_one_vtable, gnuv3_print_vtable): New functions.
> (init_gnuv3_ops): Initialize 'print_vtable' field.
> * cp-support.c (info_vtbl_command): New function.
> (_initialize_cp_support): Add "info vtbl".
> * cp-abi.h (cplus_print_vtable): Declare.
> (struct cp_abi_ops) <print_vtable>: New field.
> * cp-abi.c (cplus_print_vtable): New function.
> * NEWS: Update.
>
> 2012-03-15 Tom Tromey <tromey@redhat.com>
>
> * gdb.texinfo (Debugging C Plus Plus): Document "info vtbl".
>
> 2012-03-15 Tom Tromey <tromey@redhat.com>
>
> * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
> (test_info_vtbl): Likewise.
> (do_tests): Call test_info_vtbl.
> * gdb.cp/virtfunc.cc (va): New global.
Crash regression for: gdb.cp/virtfunc.exp
Expecting due to -lmcheck.
Reproducible on x86_64-fedora16-linux-gnu.
de2f714807e42df981348b72164f60ea71b37543 is the first bad commit
commit de2f714807e42df981348b72164f60ea71b37543
Author: Tom Tromey <tromey@redhat.com>
Date: Thu Mar 15 15:43:05 2012 +0000
* gnu-v3-abi.c (struct value_and_voffset): New.
[...]
Regards,
Jan