This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [4/5] implement "info vtable"
- From: Tom Tromey <tromey at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 01 Mar 2012 10:36:22 -0700
- Subject: Re: [4/5] implement "info vtable"
- References: <87mx82prmd.fsf@fleche.redhat.com> <4F4F8D39.60507@redhat.com>
>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
Pedro> My only gripe is that we end up with the vtable vs vtbl inconsistency
Pedro> (set print vtbl).
Yeah. I was thinking of renaming 'set print vtbl' (keeping the old name
as an alias of course). WDYT? I think "vtable" is both clearer and
more commonly used.
Pedro> May be a good idea if the docs are augmented a bit to give an example,
Pedro> and lightly explain the output.
Ok.
Pedro> IIUC, "info vtable POINTER" works. The tests only sees to try
Pedro> "info vtable OBJ". Worth adding a test that tries through a pointer?
Will do.
Tom