summaryrefslogtreecommitdiff
path: root/gdb/varobj.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2014-04-29 08:27:31 -0600
committerTom Tromey <tromey@redhat.com>2014-05-08 08:37:03 -0600
commitf989a1c8ec5d25586c937cc39948b032e07cf1c0 (patch)
tree6b1724e53c3ae5cee19601038b9f064a28069543 /gdb/varobj.c
parent263b257428741e10dc4a127cc46c57379307f421 (diff)
downloadbinutils-gdb-f989a1c8ec5d25586c937cc39948b032e07cf1c0.tar.gz
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".
Diffstat (limited to 'gdb/varobj.c')
-rw-r--r--gdb/varobj.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/varobj.c b/gdb/varobj.c
index 10ef5b74062..80163683c75 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