* NEWS: Mention "info vtbl", not "info vtable".
authorTom Tromey <tromey@redhat.com>
Thu, 15 Mar 2012 16:32:16 +0000 (16:32 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 15 Mar 2012 16:32:16 +0000 (16:32 +0000)
* cp-support.c (info_vtbl_command): Fix comment.
(_initialize_cp_support): Fix text.

gdb/ChangeLog
gdb/NEWS
gdb/cp-support.c

index 01b9efd3c02baa9930f112563c3c803a9bcc977c..1a7550811584e215c8f8d518bbd1223c2baaaa42 100644 (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
index 5ab855cff4ddc8b7e32a95dbd64d1ac74b7c6dfd..6444984daa49e59a4ecbc8a8123652f9b09bc354 100644 (file)
--- 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
index 8d8b69b8605617ebbd4cbacaed7d3774175aa627..a41bcecf35bab28d5a0f71e70a8a3cea081264ae 100644 (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."));
This page took 0.054754 seconds and 4 git commands to generate.