From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25797 invoked by alias); 17 Sep 2014 22:47:14 -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 25783 invoked by uid 89); 17 Sep 2014 22:47:13 -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,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 (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 17 Sep 2014 22:47:12 +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 s8HMlAoV030361 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 17 Sep 2014 18:47:10 -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 s8HMl9We030382 for ; Wed, 17 Sep 2014 18:47:10 -0400 From: Pedro Alves To: gdb-patches@sourceware.org Subject: [PATCH v2 0/3] Fix "breakpoint always-inserted off"; remove "breakpoint always-inserted auto" Date: Wed, 17 Sep 2014 22:47:00 -0000 Message-Id: <1410994028-24282-1-git-send-email-palves@redhat.com> X-SW-Source: 2014-09/txt/msg00598.txt.bz2 Here's v2 of the patch originally sent at: https://sourceware.org/ml/gdb-patches/2014-09/msg00562.html In a nutshell, this is another step towards making all-stop / non-stop closer in behavior. It fixes "breakpoint always-inserted off" to work correctly in non-stop mode. As non-stop no longer needs to force "breakpoint always-inserted on", the "breakpoint always-inserted auto" mode becomes unnecessary, and thus this removes it. v2: - Split in 3 patches. - Add test. - Docs unchanged, and already approved by Eli. Tested on x86_64 Fedora 20. Pedro Alves (3): Change parameter type of update_global_location_list from boolean to enum Tell update_global_location_list to insert breakpoints Fix "breakpoint always-inserted off"; remove "breakpoint always-inserted auto" gdb/NEWS | 7 + gdb/breakpoint.c | 241 +++++++++++++--------- gdb/breakpoint.h | 2 +- gdb/doc/gdb.texinfo | 13 +- gdb/infrun.c | 5 +- gdb/remote.c | 5 +- gdb/testsuite/gdb.threads/break-while-running.c | 51 +++++ gdb/testsuite/gdb.threads/break-while-running.exp | 87 ++++++++ 8 files changed, 297 insertions(+), 114 deletions(-) create mode 100644 gdb/testsuite/gdb.threads/break-while-running.c create mode 100644 gdb/testsuite/gdb.threads/break-while-running.exp -- 1.9.3