* NEWS: Mention "info vtbl", not "info vtable".

* cp-support.c (info_vtbl_command): Fix comment.
	(_initialize_cp_support): Fix text.
This commit is contained in:
Tom Tromey 2012-03-15 16:32:16 +00:00
parent 410528f093
commit 57651221de
3 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
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

View File

@ -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

View File

@ -1564,7 +1564,7 @@ cp_validate_operator (const char *input)
return 0;
}
/* Implement "info vtable". */
/* Implement "info vtbl". */
static void
info_vtbl_command (char *arg, int from_tty)
@ -1595,7 +1595,7 @@ _initialize_cp_support (void)
&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."));