This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
FYI: fix up "info vtbl" renaming
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 15 Mar 2012 10:31:34 -0600
- Subject: FYI: fix up "info vtbl" renaming
I'm checking this in.
Pedro pointed out a couple of spots where I'd accidentally left "info
vtable".
Also I changed the help for "info vtbl" to use "virtual function table"
in one more spot, instead of the jargony "vtable".
Tom
2012-03-15 Tom Tromey <tromey@redhat.com>
* NEWS: Mention "info vtbl", not "info vtable".
* cp-support.c (info_vtbl_command): Fix comment.
(_initialize_cp_support): Fix text.
Index: NEWS
===================================================================
RCS file: /cvs/src/src/gdb/NEWS,v
retrieving revision 1.498
diff -u -r1.498 NEWS
--- NEWS 15 Mar 2012 15:43:10 -0000 1.498
+++ NEWS 15 Mar 2012 16:30:46 -0000
@@ -70,7 +70,7 @@
** "enable count" can be used to auto-disable a breakpoint after
several hits.
- ** "info vtable" can be used to show the virtual method tables for
+ ** "info vtbl" can be used to show the virtual method tables for
C++ and Java objects.
* New targets
Index: cp-support.c
===================================================================
RCS file: /cvs/src/src/gdb/cp-support.c,v
retrieving revision 1.55
diff -u -r1.55 cp-support.c
--- cp-support.c 15 Mar 2012 15:43:11 -0000 1.55
+++ cp-support.c 15 Mar 2012 16:30:46 -0000
@@ -1564,7 +1564,7 @@
return 0;
}
-/* Implement "info vtable". */
+/* Implement "info vtbl". */
static void
info_vtbl_command (char *arg, int from_tty)
@@ -1595,7 +1595,7 @@
&maint_cplus_cmd_list);
add_info ("vtbl", info_vtbl_command,
- _("Show the vtable for a C++ object.\n\
+ _("Show the virtual function table for a C++ object.\n\
Usage: info vtbl EXPRESSION\n\
Evaluate EXPRESSION and display the virtual function table for the\n\
resulting object."));