From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19890 invoked by alias); 17 Dec 2011 02:59:41 -0000 Received: (qmail 19879 invoked by uid 22791); 17 Dec 2011 02:59:40 -0000 X-SWARE-Spam-Status: Yes, hits=6.3 required=5.0 tests=AWL,BAYES_00,BOTNET,FROM_12LTRDOM,RCVD_IN_BRBL_LASTEXT,RDNS_DYNAMIC X-Spam-Check-By: sourceware.org Received: from bl16-10-144.dsl.telepac.pt (HELO localhost6.localdomain6) (188.81.10.144) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 17 Dec 2011 02:59:17 +0000 Received: from localhost6.localdomain6 (localhost.localdomain [127.0.0.1]) by localhost6.localdomain6 (8.14.4/8.14.4/Debian-2ubuntu1) with ESMTP id pBH2xAdL022595 for ; Sat, 17 Dec 2011 02:59:10 GMT Subject: [RFC/WIP PATCH v2 01/12] Flip to set target-async on by default To: gdb-patches@sourceware.org From: Pedro Alves Date: Sat, 17 Dec 2011 02:59:00 -0000 Message-ID: <20111217025910.22456.89111.stgit@localhost6.localdomain6> In-Reply-To: <20111217025904.22456.50717.stgit@localhost6.localdomain6> References: <20111217025904.22456.50717.stgit@localhost6.localdomain6> User-Agent: StGit/0.15 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2011-12/txt/msg00552.txt.bz2 This flips "set target-async" to default to on. Marc Khouzam's earlier reply (on the v1 series) indicating Eclipse does not use target-async for all-stop makes me think it may be prudent to actually try this with Eclipse and see what happens. Haven't done that though. --- gdb/target.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/target.c b/gdb/target.c index 5700066..a6e146d 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -4259,11 +4259,11 @@ maintenance_print_target_stack (char *cmd, int from_tty) } /* Controls if async mode is permitted. */ -int target_async_permitted = 0; +int target_async_permitted = 1; /* The set command writes to this variable. If the inferior is executing, linux_nat_async_permitted is *not* updated. */ -static int target_async_permitted_1 = 0; +static int target_async_permitted_1 = 1; static void set_maintenance_target_async_permitted (char *args, int from_tty,