aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2006-02-10 19:47:45 +0000
committerJoel Brobecker <brobecker@gnat.com>2006-02-10 19:47:45 +0000
commit577b70472619cc7e34c521607193a9a4e040221a (patch)
tree796f278949c6c20455ef583b91ae512694a1de1a
parentd55ce4e249ace32927f3c7340bbb9e31257cf1c6 (diff)
downloadgdb-577b70472619cc7e34c521607193a9a4e040221a.zip
gdb-577b70472619cc7e34c521607193a9a4e040221a.tar.gz
gdb-577b70472619cc7e34c521607193a9a4e040221a.tar.bz2
* aix-thread.c (_initialize_aix_thread): Use add_setshow_boolean_cmd
instead of add_setshow_zinteger_cmd to defined the aix-thread boolean setting.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/aix-thread.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f6c8584..8afb011 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2006-02-10 Joel Brobecker <brobecker@adacore.com>
+
+ * aix-thread.c (_initialize_aix_thread): Use add_setshow_boolean_cmd
+ instead of add_setshow_zinteger_cmd to defined the aix-thread
+ boolean setting.
+
2006-02-10 Nick Roberts <nickrob@snap.net.nz>
* mi/gdb-mi.el: Update to reflect changes in Emacs 22.0.50.
diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c
index 5aeb02c..fc30191 100644
--- a/gdb/aix-thread.c
+++ b/gdb/aix-thread.c
@@ -1777,7 +1777,7 @@ _initialize_aix_thread (void)
target_new_objfile_chain = deprecated_target_new_objfile_hook;
deprecated_target_new_objfile_hook = new_objfile;
- add_setshow_zinteger_cmd ("aix-thread", no_class, (char *) &debug_aix_thread,
+ add_setshow_boolean_cmd ("aix-thread", class_maintenance, &debug_aix_thread,
_("Set debugging of AIX thread module."),
_("Show debugging of AIX thread module."),
_("Enables debugging output (used to debug GDB)."),