From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30693 invoked by alias); 6 Nov 2015 23:56:41 -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 30664 invoked by uid 89); 6 Nov 2015 23:56:40 -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,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; Fri, 06 Nov 2015 23:56:39 +0000 Received: from svr-orw-fem-06.mgc.mentorg.com ([147.34.97.120]) by relay1.mentorg.com with esmtp id 1Zuqs0-0000rl-Dt from Don_Breazeal@mentor.com for gdb-patches@sourceware.org; Fri, 06 Nov 2015 15:56:36 -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; Fri, 6 Nov 2015 15:56:35 -0800 Received: by build4-lucid-cs (Postfix, from userid 1905) id 7104641048; Fri, 6 Nov 2015 15:56:35 -0800 (PST) From: Don Breazeal To: Subject: [PATCH 0/3] Target remote mode fork and exec support Date: Fri, 06 Nov 2015 23:56:00 -0000 Message-ID: <1446854188-496-1-git-send-email-donb@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2015-11/txt/msg00209.txt.bz2 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 are 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: Implements target remote mode fork and exec event support. PATCH 2/3: Enables fork and exec tests for target remote mode. 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