aboutsummaryrefslogtreecommitdiff
path: root/gdb/memattr.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2007-10-11 20:12:04 +0000
committerKazu Hirata <kazu@codesourcery.com>2007-10-11 20:12:04 +0000
commit56cf5405c3df898925458f8e72938583ceb5f293 (patch)
tree3e43bb59338670d5a48b70c4b3e012a3fcad0fb0 /gdb/memattr.c
parente91528f055c828011f287968f45d3c087a17d1ab (diff)
downloadgdb-56cf5405c3df898925458f8e72938583ceb5f293.zip
gdb-56cf5405c3df898925458f8e72938583ceb5f293.tar.gz
gdb-56cf5405c3df898925458f8e72938583ceb5f293.tar.bz2
gdb/
* memattr.c (inaccessible_by_default): Change the initial value to 1. gdb/doc/ * gdb.texinfo: Mention that inaccessible-by-default is on by default.
Diffstat (limited to 'gdb/memattr.c')
-rw-r--r--gdb/memattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/memattr.c b/gdb/memattr.c
index 0b599d4..c4c3d67 100644
--- a/gdb/memattr.c
+++ b/gdb/memattr.c
@@ -65,7 +65,7 @@ static int 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 = 0;
+static int inaccessible_by_default = 1;
static void
show_inaccessible_by_default (struct ui_file *file, int from_tty,