* cp-support.c (info_vtbl_command): Fix comment.
(_initialize_cp_support): Fix text.
+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.
+
2012-03-15 Tom Tromey <tromey@redhat.com>
* cp-valprint.c (cp_print_value_fields): Use
** "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
return 0;
}
-/* Implement "info vtable". */
+/* Implement "info vtbl". */
static void
info_vtbl_command (char *arg, int from_tty)
&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."));