This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH v2 0/3] Target remote mode fork and exec support
- From: Don Breazeal <donb at codesourcery dot com>
- To: <gdb-patches at sourceware dot org>
- Date: Mon, 7 Dec 2015 14:14:04 -0800
- Subject: [PATCH v2 0/3] Target remote mode fork and exec support
- Authentication-results: sourceware.org; auth=none
- References: <564F1A6A dot 3030301 at redhat dot com>
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