[17/17] native Linux: enable always non-stop by default

Message ID 1427926454-16431-18-git-send-email-palves@redhat.com
State New, archived
Headers

Commit Message

Pedro Alves April 1, 2015, 10:14 p.m. UTC
  The testsuite shows no regressions with this forced on, so let's try
making it the default.

Tested on x86_64 Fedora 20, with and output "set displaced off"
forced.

gdb/ChangeLog:
2015-04-01  Pedro Alves  <palves@redhat.com>

	* linux-nat.c (linux_nat_always_non_stop_p): New function.
---
 gdb/linux-nat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index d8001f9..4b08b31 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -4556,7 +4556,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