]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/memattr.c
Change boolean options to bool instead of int
[thirdparty/binutils-gdb.git] / gdb / memattr.c
index e695f6e07e775063738f6e3ee37984a82678ba75..0475780b29f837eb1588d92c1f4a39fc19d88537 100644 (file)
@@ -53,7 +53,7 @@ static bool target_mem_regions_valid;
 /* If this flag is set, gdb will assume that memory ranges not
    specified by the memory map have type MEM_NONE, and will
    emit errors on all accesses to that memory.  */
-static int inaccessible_by_default = 1;
+static bool inaccessible_by_default = true;
 
 static void
 show_inaccessible_by_default (struct ui_file *file, int from_tty,