diff options
author | Tom Tromey <tromey@redhat.com> | 2012-03-15 16:32:16 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-03-15 16:32:16 +0000 |
commit | 57651221de401ff77b3c43e2b678190e574f9baa (patch) | |
tree | aae9cb9272c10d2b72a5ec25a968d33b58acc23d /gdb/cp-support.c | |
parent | 410528f093e41d8d8ca5eae37d4bb57c98a3122b (diff) | |
download | gdb-57651221de401ff77b3c43e2b678190e574f9baa.zip gdb-57651221de401ff77b3c43e2b678190e574f9baa.tar.gz gdb-57651221de401ff77b3c43e2b678190e574f9baa.tar.bz2 |
* NEWS: Mention "info vtbl", not "info vtable".
* cp-support.c (info_vtbl_command): Fix comment.
(_initialize_cp_support): Fix text.
Diffstat (limited to 'gdb/cp-support.c')
-rw-r--r-- | gdb/cp-support.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/cp-support.c b/gdb/cp-support.c index 8d8b69b..a41bcec 100644 --- a/gdb/cp-support.c +++ b/gdb/cp-support.c @@ -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.")); |