From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 99460 invoked by alias); 1 Apr 2015 22:14:36 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 99304 invoked by uid 89); 1 Apr 2015 22:14:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 01 Apr 2015 22:14:34 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t31MEXxk023903 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 1 Apr 2015 18:14:33 -0400 Received: from brno.lan (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t31MEEu2009701 for ; Wed, 1 Apr 2015 18:14:32 -0400 From: Pedro Alves To: gdb-patches@sourceware.org Subject: [PATCH 17/17] native Linux: enable always non-stop by default Date: Wed, 01 Apr 2015 22:14:00 -0000 Message-Id: <1427926454-16431-18-git-send-email-palves@redhat.com> In-Reply-To: <1427926454-16431-1-git-send-email-palves@redhat.com> References: <1427926454-16431-1-git-send-email-palves@redhat.com> X-SW-Source: 2015-04/txt/msg00077.txt.bz2 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 * linux-nat.c (linux_nat_always_non_stop_p): New function. --- gdb/linux-nat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.9.3