OSDN Git Service

gdb/
authorkazu <kazu>
Thu, 11 Oct 2007 20:12:03 +0000 (20:12 +0000)
committerkazu <kazu>
Thu, 11 Oct 2007 20:12:03 +0000 (20:12 +0000)
* memattr.c (inaccessible_by_default): Change the initial
value to 1.

gdb/doc/
* gdb.texinfo: Mention that inaccessible-by-default is on by
default.

gdb/ChangeLog
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/memattr.c

index f4eb180..7408d08 100644 (file)
@@ -1,3 +1,8 @@
+2007-10-11  Kazu Hirata  <kazu@codesourcery.com>
+
+       * memattr.c (inaccessible_by_default): Change the initial
+       value to 1.
+
 2007-10-11  Daniel Jacobowitz  <dan@codesourcery.com>
 
        PR gdb/2280
index 7222c04..68474c2 100644 (file)
@@ -1,3 +1,8 @@
+2007-10-11  Kazu Hirata  <kazu@codesourcery.com>
+
+       * gdb.texinfo: Mention that inaccessible-by-default is on by
+       default.
+
 2007-10-11  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * gdbint.texinfo (Target Conditionals): Remove VARIABLES_INSIDE_BLOCK.
index fac3f67..468d600 100644 (file)
@@ -7022,7 +7022,7 @@ explicitly described by the memory ranges as non-existent and refuse accesses
 to such memory.  The checks are only performed if there's at least one
 memory range defined.  If @code{off} is specified, make @value{GDBN}
 treat the memory not explicitly described by the memory ranges as RAM.
-The default value is @code{off}.
+The default value is @code{on}.
 @kindex show mem inaccessible-by-default
 @item show mem inaccessible-by-default
 Show the current handling of accesses to unknown memory.
index 0b599d4..c4c3d67 100644 (file)
@@ -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,