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

Pedro Alves
2012-03-01T14:52:56Z

On 02/28/2012 09:36 PM, Tom Tromey wrote:
> This one needs a doc review, and of course commentary on the naming and
> output.
>
> This adds a new command, "info vtable". This command can be used to
> inspect the virtual tables of an object.

My only gripe is that we end up with the vtable vs vtbl inconsistency (set print vtbl).
So

(gdb) apropos vtbl

and

(gdb) apropos vtable

will show different commands...

May be a good idea if the docs are augmented a bit to give an example,
and lightly explain the output.

IIUC, "info vtable POINTER" works. The tests only sees to try
"info vtable OBJ". Worth adding a test that tries through a pointer?

--
Pedro Alves