aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/gdbserver/ChangeLog7
-rw-r--r--gdb/gdbserver/server.h2
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 66fc16c..ab27e9b 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,10 @@
+2018-08-22 Simon Marchi <simon.marchi@ericsson.com>
+
+ PR gdb/23374
+ PR gdb/23375
+ * server.h (struct client_state) <disable_randomization>:
+ Initialize to 1.
+
2018-07-22 Simon Marchi <simon.marchi@polymtl.ca>
* linux-mips-low.c (mips_collect_ptrace_register): Remove unused
diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h
index 8e197ee..5e41e2f 100644
--- a/gdb/gdbserver/server.h
+++ b/gdb/gdbserver/server.h
@@ -176,7 +176,7 @@ struct client_state
/* Whether we should attempt to disable the operating system's address
space randomization feature before starting an inferior. */
- int disable_randomization = 0;
+ int disable_randomization = 1;
int pass_signals[GDB_SIGNAL_LAST];
int program_signals[GDB_SIGNAL_LAST];