Crash regression [Re: [4/5] implement "info vtable"]

Jan Kratochvil
2012-03-16T08:10:39Z

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