diff options
Diffstat (limited to 'gdb/compile')
-rw-r--r-- | gdb/compile/compile-cplus-types.c | 4 | ||||
-rw-r--r-- | gdb/compile/compile-internal.h | 2 | ||||
-rw-r--r-- | gdb/compile/compile.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/gdb/compile/compile-cplus-types.c b/gdb/compile/compile-cplus-types.c index 3a7c8b01f7d..042c2afbe90 100644 --- a/gdb/compile/compile-cplus-types.c +++ b/gdb/compile/compile-cplus-types.c @@ -41,11 +41,11 @@ const char *compile_cplus_instance::m_default_cflags = "-std=gnu++11"; /* Flag to enable internal debugging. */ -static int debug_compile_cplus_types = 0; +static bool debug_compile_cplus_types = false; /* Flag to enable internal scope switching debugging. */ -static int debug_compile_cplus_scopes = 0; +static bool debug_compile_cplus_scopes = false; /* Forward declarations. */ diff --git a/gdb/compile/compile-internal.h b/gdb/compile/compile-internal.h index 406a369d683..9c0e9894108 100644 --- a/gdb/compile/compile-internal.h +++ b/gdb/compile/compile-internal.h @@ -21,7 +21,7 @@ /* Debugging flag for the "compile" family of commands. */ -extern int compile_debug; +extern bool compile_debug; struct block; diff --git a/gdb/compile/compile.c b/gdb/compile/compile.c index 87970d2c948..5c3400ffec8 100644 --- a/gdb/compile/compile.c +++ b/gdb/compile/compile.c @@ -56,7 +56,7 @@ static struct cmd_list_element *compile_command_list; /* Debug flag for "compile" commands. */ -int compile_debug; +bool compile_debug; /* Object of this type are stored in the compiler's symbol_err_map. */ @@ -241,7 +241,7 @@ show_compile_debug (struct ui_file *file, int from_tty, struct compile_options { /* For -raw. */ - int raw = false; + bool raw = false; }; using compile_flag_option_def |