* aix-thread.c (_initialize_aix_thread): Use add_setshow_boolean_cmd
authorJoel Brobecker <brobecker@gnat.com>
Fri, 10 Feb 2006 19:47:45 +0000 (19:47 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Fri, 10 Feb 2006 19:47:45 +0000 (19:47 +0000)
        instead of add_setshow_zinteger_cmd to defined the aix-thread
        boolean setting.

gdb/ChangeLog
gdb/aix-thread.c

index f6c8584a8725c7cd16a85878971aa9ed696f51ab..8afb01157486e704697d37fb59b8d395c1a7e4b5 100644 (file)
@@ -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.
index 5aeb02c32ee706b2f2c4d7b2fb35da9bf422ada4..fc3019109cfc1fda3ab7336e737416642a5d1fac 100644 (file)
@@ -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)."),