From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29337 invoked by alias); 18 Jul 2016 14:58:52 -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 29325 invoked by uid 89); 18 Jul 2016 14:58:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=Hx-languages-length:610, gained X-HELO: bigwig.baldwin.cx Received: from bigwig.baldwin.cx (HELO bigwig.baldwin.cx) (96.47.65.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Mon, 18 Jul 2016 14:58:42 +0000 Received: from ralph.com (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 80A88B917 for ; Mon, 18 Jul 2016 10:58:39 -0400 (EDT) From: John Baldwin To: gdb-patches@sourceware.org Subject: [PATCH 0/3] Add "real" vfork done handling on FreeBSD Date: Mon, 18 Jul 2016 14:58:00 -0000 Message-Id: <20160718145759.58543-1-jhb@FreeBSD.org> X-IsSubscribed: yes X-SW-Source: 2016-07/txt/msg00189.txt.bz2 FreeBSD 12 recently gained a real vfork done event via ptrace(2). This changes the FreeBSD native targets to use this when it exists instead of faking a done event after a sleep. John Baldwin (3): Consolidate code to enable optional FreeBSD native target event reporting. Enable ptrace events on new child processes. Use a real vfork done event on FreeBSD when available. gdb/ChangeLog | 31 ++++++++++++++++++++ gdb/fbsd-nat.c | 92 ++++++++++++++++++++++++++++++++++++---------------------- 2 files changed, 89 insertions(+), 34 deletions(-) -- 2.8.4