From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5070 invoked by alias); 25 Sep 2014 14:58:49 -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 4901 invoked by uid 89); 25 Sep 2014 14:58:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_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 (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 25 Sep 2014 14:58:47 +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 s8PEwjJH017365 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 25 Sep 2014 10:58:45 -0400 Received: from brno.lan (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s8PEwhD7006018 for ; Thu, 25 Sep 2014 10:58:44 -0400 From: Pedro Alves To: gdb-patches@sourceware.org Subject: [PATCH 0/3] Fix non-stop + "breakpoints always-inserted off" regressions Date: Thu, 25 Sep 2014 14:58:00 -0000 Message-Id: <1411657123-16228-1-git-send-email-palves@redhat.com> X-SW-Source: 2014-09/txt/msg00732.txt.bz2 This series fixes the non-stop regressions caused by the recent "breakpoints always-inserted off" changes. https://sourceware.org/ml/gdb-patches/2014-09/msg00671.html Patch 3/3 is the real fix. The others may seem a bit unrelated, but are actually latent problems that patch 3/3 exposed in the testsuite, and need to be applied before 3/3 is. Tested on x86_64 Fedora 20, native and gdbserver. Pedro Alves (3): Reduce Hg packet (select remote general thread) bouncing PR17431: following execs with "breakpoint always-inserted on" Fix non-stop regressions caused by "breakpoints always-inserted off" changes gdb/breakpoint.c | 16 +-- gdb/breakpoint.h | 10 ++ gdb/gdbthread.h | 10 +- gdb/inferior.c | 7 +- gdb/inferior.h | 3 +- gdb/infrun.c | 54 ++++++---- gdb/progspace.c | 5 +- gdb/progspace.h | 3 +- gdb/testsuite/gdb.base/execl-update-breakpoints.c | 38 +++++++ .../gdb.base/execl-update-breakpoints.exp | 114 +++++++++++++++++++++ gdb/testsuite/gdb.threads/break-while-running.exp | 35 ++++--- gdb/thread.c | 84 +++++++++++++-- 12 files changed, 320 insertions(+), 59 deletions(-) create mode 100644 gdb/testsuite/gdb.base/execl-update-breakpoints.c create mode 100644 gdb/testsuite/gdb.base/execl-update-breakpoints.exp -- 1.9.3