From: Tom Tromey Date: Thu, 15 Mar 2012 16:32:16 +0000 (+0000) Subject: * NEWS: Mention "info vtbl", not "info vtable". X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=57651221de401ff77b3c43e2b678190e574f9baa;p=binutils-gdb.git * NEWS: Mention "info vtbl", not "info vtable". * cp-support.c (info_vtbl_command): Fix comment. (_initialize_cp_support): Fix text. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 01b9efd3c02..1a755081158 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2012-03-15 Tom Tromey + + * 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 * cp-valprint.c (cp_print_value_fields): Use diff --git a/gdb/NEWS b/gdb/NEWS index 5ab855cff4d..6444984daa4 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -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 8d8b69b8605..a41bcecf35b 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."));