rename "set debugvarobj" to "set debug varobj"
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".
This commit is contained in:
parent
263b257428
commit
f989a1c8ec
|
@ -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>
|
2014-05-07 Kyle McMartin <kyle@redhat.com>
|
||||||
|
|
||||||
Pushed by Joel Brobecker <brobecker@adacore.com>.
|
Pushed by Joel Brobecker <brobecker@adacore.com>.
|
||||||
|
|
|
@ -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>
|
2014-05-01 David Taylor <dtaylor@emc.com>
|
||||||
|
|
||||||
* gdb.texinfo (compare-sections): Document the new -r (read-only)
|
* gdb.texinfo (compare-sections): Document the new -r (read-only)
|
||||||
|
|
|
@ -22926,11 +22926,11 @@ message.
|
||||||
@item show debug timestamp
|
@item show debug timestamp
|
||||||
Displays the current state of displaying timestamps with @value{GDBN}
|
Displays the current state of displaying timestamps with @value{GDBN}
|
||||||
debugging info.
|
debugging info.
|
||||||
@item set debugvarobj
|
@item set debug varobj
|
||||||
@cindex variable object debugging info
|
@cindex variable object debugging info
|
||||||
Turns on or off display of @value{GDBN} variable object debugging
|
Turns on or off display of @value{GDBN} variable object debugging
|
||||||
info. The default is off.
|
info. The default is off.
|
||||||
@item show debugvarobj
|
@item show debug varobj
|
||||||
Displays the current state of displaying @value{GDBN} variable object
|
Displays the current state of displaying @value{GDBN} variable object
|
||||||
debugging info.
|
debugging info.
|
||||||
@item set debug xml
|
@item set debug xml
|
||||||
|
|
|
@ -2799,13 +2799,13 @@ _initialize_varobj (void)
|
||||||
varobj_table = xmalloc (sizeof_table);
|
varobj_table = xmalloc (sizeof_table);
|
||||||
memset (varobj_table, 0, sizeof_table);
|
memset (varobj_table, 0, sizeof_table);
|
||||||
|
|
||||||
add_setshow_zuinteger_cmd ("debugvarobj", class_maintenance,
|
add_setshow_zuinteger_cmd ("varobj", class_maintenance,
|
||||||
&varobjdebug,
|
&varobjdebug,
|
||||||
_("Set varobj debugging."),
|
_("Set varobj debugging."),
|
||||||
_("Show varobj debugging."),
|
_("Show varobj debugging."),
|
||||||
_("When non-zero, varobj debugging is enabled."),
|
_("When non-zero, varobj debugging is enabled."),
|
||||||
NULL, show_varobjdebug,
|
NULL, show_varobjdebug,
|
||||||
&setlist, &showlist);
|
&setdebuglist, &showdebuglist);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Invalidate varobj VAR if it is tied to locals and re-create it if it is
|
/* Invalidate varobj VAR if it is tied to locals and re-create it if it is
|
||||||
|
|
Loading…
Reference in New Issue