This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] rename "set debugvarobj" to "set debug varobj"
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 08 May 2014 08:37:26 -0600
- Subject: Re: [PATCH] rename "set debugvarobj" to "set debug varobj"
- Authentication-results: sourceware.org; auth=none
- References: <1398785790-2059-1-git-send-email-tromey at redhat dot com>
Tom> 2014-04-29 Tom Tromey <tromey@redhat.com>
Tom> * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
Tom> "show debug varobj".
Tom> 2014-04-29 Tom Tromey <tromey@redhat.com>
Tom> * gdb.texinfo (Debugging Output): Rename to "set debug varobj" and
Tom> "show debug varobj".
I'm checking this in with the extraneous line removed.
Final patch appended.
Tom
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 09095f1..1b3599c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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>.
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 1e60575..1dee68a 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -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)
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 7f7650d..2aff5e5 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -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
diff --git a/gdb/varobj.c b/gdb/varobj.c
index 10ef5b7..8016368 100644
--- a/gdb/varobj.c
+++ b/gdb/varobj.c
@@ -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