From f12899e9f081bb857c96999386e64a4252c4a325 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Thu, 6 Aug 2015 18:23:01 +0100 Subject: [PATCH] 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 * linux-nat.c (linux_nat_always_non_stop_p): Return 1. --- gdb/ChangeLog | 4 ++++ gdb/linux-nat.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4c95b27942f..493ec619d40 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2015-08-07 Pedro Alves + + * linux-nat.c (linux_nat_always_non_stop_p): Return 1. + 2015-08-07 Pedro Alves * s390-linux-tdep.c (is_non_branch_ril) diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index 19d452c03f8..be7a9150d33 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 -- 2.30.2