From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24747 invoked by alias); 4 Mar 2014 18:33:09 -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 24682 invoked by uid 89); 4 Mar 2014 18:33:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham 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 ESMTP; Tue, 04 Mar 2014 18:33:08 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s24IX5bK011903 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 4 Mar 2014 13:33:05 -0500 Received: from barimba.redhat.com (ovpn-113-183.phx2.redhat.com [10.3.113.183]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s24IWtjb012049; Tue, 4 Mar 2014 13:33:03 -0500 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [RFC v5 8/8] enable target-async by default Date: Tue, 04 Mar 2014 18:33:00 -0000 Message-Id: <1393957974-4521-9-git-send-email-tromey@redhat.com> In-Reply-To: <1393957974-4521-1-git-send-email-tromey@redhat.com> References: <1393957974-4521-1-git-send-email-tromey@redhat.com> X-SW-Source: 2014-03/txt/msg00089.txt.bz2 This flips the default of maint_async_permitted, causing target async to be enabled by default. 2014-02-26 Tom Tromey * target.c (maint_async_permitted, maint_async_permitted_1): Default to 1. --- gdb/ChangeLog | 5 +++++ gdb/target.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/target.c b/gdb/target.c index 6711bd7..369cbb7 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -4201,11 +4201,11 @@ maintenance_print_target_stack (char *cmd, int from_tty) /* Controls if targets can report that they are async. This is just for maintainers to use when debugging gdb. */ -int maint_async_permitted = 0; +int maint_async_permitted = 1; /* The set command writes to this variable. If the inferior is executing, maint_async_permitted is *not* updated. */ -static int maint_async_permitted_1 = 0; +static int maint_async_permitted_1 = 1; static void set_maint_async_command (char *args, int from_tty, -- 1.8.1.4