From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23970 invoked by alias); 17 Dec 2011 03:07:24 -0000 Received: (qmail 23960 invoked by uid 22791); 17 Dec 2011 03:07:23 -0000 X-SWARE-Spam-Status: Yes, hits=6.4 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 03:07:10 +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 pBH30AiZ022831 for ; Sat, 17 Dec 2011 03:00:11 GMT Subject: [RFC/WIP PATCH v2 12/12] Default "set schedule-multiple" to on To: gdb-patches@sourceware.org From: Pedro Alves Date: Sat, 17 Dec 2011 03:08:00 -0000 Message-ID: <20111217030010.22456.9382.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/msg00559.txt.bz2 See description of previous patch. --- gdb/infrun.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gdb/infrun.c b/gdb/infrun.c index f77ecd7..c3e6d0d 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -1646,10 +1646,10 @@ set_schedlock_func (char *args, int from_tty, struct cmd_list_element *c) } } -/* True if execution commands resume all threads of all processes by - default; otherwise, resume only threads of the current inferior - process. */ -int sched_multi = 0; +/* True if execution commands resume all threads of all processes in + the current focus by default; otherwise, resume only threads of the + current inferior process. */ +int sched_multi = 1; /* Try to setup for software single stepping over the specified location. Return 1 if target_resume() should use hardware single step.