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".
+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>.
2014-05-07 Kyle McMartin <kyle@redhat.com>
Pushed by Joel Brobecker <brobecker@adacore.com>.
+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)
2014-05-01 David Taylor <dtaylor@emc.com>
* gdb.texinfo (compare-sections): Document the new -r (read-only)
@item show debug timestamp
Displays the current state of displaying timestamps with @value{GDBN}
debugging info.
@item show debug timestamp
Displays the current state of displaying timestamps with @value{GDBN}
debugging info.
@cindex variable object debugging info
Turns on or off display of @value{GDBN} variable object debugging
info. The default is off.
@cindex variable object debugging info
Turns on or off display of @value{GDBN} variable object debugging
info. The default is off.
Displays the current state of displaying @value{GDBN} variable object
debugging info.
@item set debug xml
Displays the current state of displaying @value{GDBN} variable object
debugging info.
@item set debug xml
varobj_table = xmalloc (sizeof_table);
memset (varobj_table, 0, sizeof_table);
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,
&varobjdebug,
_("Set varobj debugging."),
_("Show varobj debugging."),
_("When non-zero, varobj debugging is enabled."),
NULL, show_varobjdebug,
+ &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