From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 89695 invoked by alias); 7 Dec 2015 22:14:15 -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 89686 invoked by uid 89); 7 Dec 2015 22:14:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS,T_FROM_12LTRDOM autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 07 Dec 2015 22:14:13 +0000 Received: from svr-orw-fem-06.mgc.mentorg.com ([147.34.97.120]) by relay1.mentorg.com with esmtp id 1a642s-0000wJ-HM from Don_Breazeal@mentor.com for gdb-patches@sourceware.org; Mon, 07 Dec 2015 14:14:10 -0800 Received: from build4-lucid-cs (147.34.91.1) by SVR-ORW-FEM-06.mgc.mentorg.com (147.34.97.120) with Microsoft SMTP Server id 14.3.224.2; Mon, 7 Dec 2015 14:14:10 -0800 Received: by build4-lucid-cs (Postfix, from userid 1905) id EC317410AC; Mon, 7 Dec 2015 14:14:09 -0800 (PST) From: Don Breazeal To: Subject: [PATCH v2 0/3] Target remote mode fork and exec support Date: Mon, 07 Dec 2015 22:14:00 -0000 Message-ID: <1449526447-10039-1-git-send-email-donb@codesourcery.com> In-Reply-To: <564F1A6A.3030301@redhat.com> References: <564F1A6A.3030301@redhat.com> MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2015-12/txt/msg00144.txt.bz2 This is an update of the patchset implementing target remote mode for and exec events. The primary changes from the previous version are: * reorder the patches so that the test patch is first * implement changes requested by Pedro's review of the implementation patch, primarily rewriting remote_kill. * minor updates to the documentation patch to eliminate incorrect characterization of follow-exec-mode as "unsupported" in remote mode. Details of the changes are outlined in each patch. Thanks! --Don This patchset implements support fork and exec events for target remote mode Linux targets. This is done primarily by enabling functionality that had previously been restricted to extended-remote mode, and by preventing gdbserver from exiting until there are no more active inferiors left. There were a number of tests that had to be modified to enable them in target-remote mode. The GDB manual sections on connecting to a remote target were modified and reorganized to clarify the distinction between remote, extended-remote, and multiprocess, and to collect related information into subsections. The patches include: PATCH 1/3: Enables fork and exec tests for target remote mode. PATCH 2/3: Implements target remote mode fork and exec event support. PATCH 3/3: Updates documentation for fork and exec events with target remote. Tested on x86_64 Linux with native, remote, and extended-remote. Also tried it with Pedro's patch that modified gdbserver exit criteria, https://sourceware.org/ml/gdb-patches/2015-10/msg00222.html, and saw no regressions. Thanks, Don