summaryrefslogtreecommitdiff
path: root/gdb/dwarf-index-cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dwarf-index-cache.c')
-rw-r--r--gdb/dwarf-index-cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/dwarf-index-cache.c b/gdb/dwarf-index-cache.c
index e56cb59343..d00d6511ab 100644
--- a/gdb/dwarf-index-cache.c
+++ b/gdb/dwarf-index-cache.c
@@ -32,8 +32,8 @@
#include <string>
#include <stdlib.h>
-/* When set to 1, show debug messages about the index cache. */
-static int debug_index_cache = 0;
+/* When set to true, show debug messages about the index cache. */
+static bool debug_index_cache = false;
/* The index cache directory, used for "set/show index-cache directory". */
static char *index_cache_directory = NULL;