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 | |
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.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/NEWS | 2 | ||||
-rw-r--r-- | gdb/cp-support.c | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 01b9efd..1a75508 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 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 print_function_pointer_address for vtable slot. @@ -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 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.")); |