From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 71781 invoked by alias); 31 Jul 2015 17:03:54 -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 71768 invoked by uid 89); 31 Jul 2015 17:03:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 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; Fri, 31 Jul 2015 17:03:51 +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 (Postfix) with ESMTPS id D0973293209 for ; Fri, 31 Jul 2015 17:03:50 +0000 (UTC) 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 t6VH3njm020092 for ; Fri, 31 Jul 2015 13:03:50 -0400 From: Pedro Alves To: gdb-patches@sourceware.org Subject: [PATCH/7.10 0/2] gdbserver: Fix several fork support (& co) issues Date: Fri, 31 Jul 2015 17:03:00 -0000 Message-Id: <1438362229-27653-1-git-send-email-palves@redhat.com> X-SW-Source: 2015-07/txt/msg00945.txt.bz2 In the "[PATCH 3/N] remote follow fork and spurious child stops in non-stop mode" thread: https://sourceware.org/ml/gdb-patches/2015-07/msg00868.html several issues were identified in the new gdbserver follow fork support in 7.10. This addresses all I found. I'm thinking these are 7.10 worthy. The test added exposes issues in gdb's native target, but I won't have time to address them myself right now, so the test is kfailed there. Pedro Alves (2): Linux gdbserver confused when event randomization returns a process exit event gdbserver: Fix non-stop / fork / step-over issues gdb/gdbserver/linux-low.c | 335 +++++++++++++++++----- gdb/gdbserver/linux-low.h | 11 +- gdb/target/waitstatus.h | 5 +- gdb/testsuite/gdb.threads/fork-plus-threads-2.c | 129 +++++++++ gdb/testsuite/gdb.threads/fork-plus-threads-2.exp | 116 ++++++++ 5 files changed, 523 insertions(+), 73 deletions(-) create mode 100644 gdb/testsuite/gdb.threads/fork-plus-threads-2.c create mode 100644 gdb/testsuite/gdb.threads/fork-plus-threads-2.exp -- 1.9.3