Change boolean options to bool instead of int
[deliverable/binutils-gdb.git] / gdb / demangle.c
index 8e5065a27b0d68e5bfdd1708a2b9f7802ea768c1..cfe3421b23c9e2f29a7589fb11ec37a75b783b0e 100644 (file)
    to a styles of demangling, and GDB specific.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "cli/cli-utils.h"
+#include "cli/cli-utils.h" /* for skip_to_space */
 #include "command.h"
+#include "gdbcmd.h"
 #include "demangle.h"
 #include "gdb-demangle.h"
-#include "gdbcmd.h"
 #include "language.h"
 
 /* Select the default C++ demangling style to use.  The default is "auto",
@@ -46,7 +44,7 @@
 #endif
 
 /* See documentation in gdb-demangle.h.  */
-int demangle = 1;
+bool demangle = true;
 
 static void
 show_demangle (struct ui_file *file, int from_tty,
@@ -59,7 +57,7 @@ show_demangle (struct ui_file *file, int from_tty,
 }
 
 /* See documentation in gdb-demangle.h.  */
-int asm_demangle = 0;
+bool asm_demangle = false;
 
 static void
 show_asm_demangle (struct ui_file *file, int from_tty,
This page took 0.026681 seconds and 4 git commands to generate.