This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] native Linux: enable always non-stop by default
- From: Pedro Alves <palves at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 7 Aug 2015 16:46:18 -0000
- Subject: [binutils-gdb] native Linux: enable always non-stop by default
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f12899e9f081bb857c96999386e64a4252c4a325
commit f12899e9f081bb857c96999386e64a4252c4a325
Author: Pedro Alves <palves@redhat.com>
Date: Thu Aug 6 18:23:01 2015 +0100
native Linux: enable always non-stop by default
The testsuite shows no regressions with this forced on, on:
- Native x86_64 Fedora 20, with and output "set displaced off".
- Native x86_64 Fedora 20, on top of x86 software single-step series.
- PPC64 Fedora 18.
- S/390 RHEL 7.1.
Let's try making it the default.
gdb/ChangeLog:
2015-08-07 Pedro Alves <palves@redhat.com>
* linux-nat.c (linux_nat_always_non_stop_p): Return 1.
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/linux-nat.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4c95b27..493ec61 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2015-08-07 Pedro Alves <palves@redhat.com>
+ * linux-nat.c (linux_nat_always_non_stop_p): Return 1.
+
+2015-08-07 Pedro Alves <palves@redhat.com>
+
* s390-linux-tdep.c (is_non_branch_ril)
(s390_displaced_step_copy_insn): New functions.
(s390_displaced_step_fixup): Update comment.
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index 19d452c..be7a915 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -4594,7 +4594,7 @@ linux_nat_supports_non_stop (struct target_ops *self)
static int
linux_nat_always_non_stop_p (struct target_ops *self)
{
- return 0;
+ return 1;
}
/* True if we want to support multi-process. To be removed when GDB