From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 129880 invoked by alias); 23 Jul 2015 17:24:59 -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 129800 invoked by uid 89); 23 Jul 2015 17:24:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,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, 23 Jul 2015 17:24:57 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 8A37735B944 for ; Thu, 23 Jul 2015 17:24:55 +0000 (UTC) Received: from brno.lan (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t6NHOsAY009437 for ; Thu, 23 Jul 2015 13:24:55 -0400 From: Pedro Alves To: gdb-patches@sourceware.org Subject: [PATCH v2 0/2] PR threads/18600: Threads left stopped after fork+thread spawn Date: Thu, 23 Jul 2015 17:24:00 -0000 Message-Id: <1437672294-29351-1-git-send-email-palves@redhat.com> X-SW-Source: 2015-07/txt/msg00650.txt.bz2 This is intended for both master and 7.10. The discussions on PR threads/18600 at: https://sourceware.org/ml/gdb-patches/2015-07/msg00153.html identified two problems. These patches are another revision of the patches original posted at: [1] https://sourceware.org/ml/gdb-patches/2015-07/msg00186.html [2] https://sourceware.org/ml/gdb-patches/2015-07/msg00190.html Which later Simon cleaned up a bit and wrote a test for: https://sourceware.org/ml/gdb-patches/2015-07/msg00595.html This revision addresses the comments I made to Simon's version. Tested on x86_64 Fedora 20, native, remote and extended-remote gdbserver. Pedro Alves (2): PR threads/18600: Threads left stopped after fork+thread spawn PR threads/18600: Inferiors left around after fork+thread spawn gdb/linux-nat.c | 111 ++++++++++++----------- gdb/testsuite/gdb.threads/fork-plus-threads.c | 115 ++++++++++++++++++++++++ gdb/testsuite/gdb.threads/fork-plus-threads.exp | 65 ++++++++++++++ 3 files changed, 235 insertions(+), 56 deletions(-) create mode 100644 gdb/testsuite/gdb.threads/fork-plus-threads.c create mode 100644 gdb/testsuite/gdb.threads/fork-plus-threads.exp -- 1.9.3