rename "set debugvarobj" to "set debug varobj"
authorTom Tromey <tromey@redhat.com>
Tue, 29 Apr 2014 14:27:31 +0000 (08:27 -0600)
committerTom Tromey <tromey@redhat.com>
Thu, 8 May 2014 14:37:03 +0000 (08:37 -0600)
I think "set debugvarobj" has the wrong name.
It ought to be "set debug varobj", like gdb's other debug settings.

This patch makes the change.

I chose not to install deprecated aliases, since this is only a debug
setting; but if someone feels strongly about it I will add them.

Built and regtested on x86-64 Fedora 20.

2014-04-29  Tom Tromey  <tromey@redhat.com>

* varobj.c (_initialize_varobj): Rename to "set debug varobj" and
"show debug varobj".

2014-04-29  Tom Tromey  <tromey@redhat.com>

* gdb.texinfo (Debugging Output): Rename to "set debug varobj" and
"show debug varobj".

gdb/ChangeLog
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/varobj.c

index 09095f158065a1bd32a2635f0b3769dd9d9ccb8a..1b3599c9c8ad5c6308cc48bfccb81f661aa09e59 100644 (file)
@@ -1,3 +1,8 @@
+2014-04-29  Tom Tromey  <tromey@redhat.com>
+
+       * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
+       "show debug varobj".
+
 2014-05-07  Kyle McMartin  <kyle@redhat.com>
 
        Pushed by Joel Brobecker  <brobecker@adacore.com>.
index 1e60575a0024add96fbcfb831890e898b1a974a2..1dee68aec8d586ec7345c9bb6ed800d891854e35 100644 (file)
@@ -1,3 +1,8 @@
+2014-04-29  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.texinfo (Debugging Output): Rename to "set debug varobj" and
+       "show debug varobj".
+
 2014-05-01  David Taylor  <dtaylor@emc.com>
 
        * gdb.texinfo (compare-sections): Document the new -r (read-only)
index 7f7650d75c860bc7ddfdff11a37574357988035b..2aff5e5d1f087932b4ab3a6227ef23612fc9b437 100644 (file)
@@ -22926,11 +22926,11 @@ message.
 @item show debug timestamp
 Displays the current state of displaying timestamps with @value{GDBN}
 debugging info.
-@item set debugvarobj
+@item set debug varobj
 @cindex variable object debugging info
 Turns on or off display of @value{GDBN} variable object debugging
 info. The default is off.
-@item show debugvarobj
+@item show debug varobj
 Displays the current state of displaying @value{GDBN} variable object
 debugging info.
 @item set debug xml
index 10ef5b7406250f30b87fcaafab5b851cb39aa1ac..80163683c750d0d4c9448cc5addfbea2afe52a22 100644 (file)
@@ -2799,13 +2799,13 @@ _initialize_varobj (void)
   varobj_table = xmalloc (sizeof_table);
   memset (varobj_table, 0, sizeof_table);
 
-  add_setshow_zuinteger_cmd ("debugvarobj", class_maintenance,
+  add_setshow_zuinteger_cmd ("varobj", class_maintenance,
                             &varobjdebug,
                             _("Set varobj debugging."),
                             _("Show varobj debugging."),
                             _("When non-zero, varobj debugging is enabled."),
                             NULL, show_varobjdebug,
-                            &setlist, &showlist);
+                            &setdebuglist, &showdebuglist);
 }
 
 /* Invalidate varobj VAR if it is tied to locals and re-create it if it is
This page took 0.051422 seconds and 4 git commands to generate.