public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v7 0/7] Remote fork events
@ 2015-04-10 17:09 Don Breazeal
  2015-04-10 17:10 ` [PATCH v7 4/7] Arch-specific remote follow fork Don Breazeal
                   ` (6 more replies)
  0 siblings, 7 replies; 18+ messages in thread
From: Don Breazeal @ 2015-04-10 17:09 UTC (permalink / raw)
  To: gdb-patches

This is v7 of the patch series implementing remote follow-fork, last
posted here: https://sourceware.org/ml/gdb-patches/2015-03/msg00503.html

This patchset only implements fork and vfork events for extended remote,
omitting exec events and 'target remote' for now.

Changes from the previous version:

 * Patch 1: removed documentation portion, putting it in a separate
            documentation patch (patch 7).

 * Patch 3: addressed a number of review comments.  The significant
            changes include:
	    - temporarily pause all lwps when gdb (re)connects, in
	      order to set the ptrace options.
	    - rework the mechanism for setting ptrace options.
	    - refactor remote_detach_1 per review comments.
	    - removed a test change (will submit it as a separate patch).
	    - moved documentation changes to doc patch #7.

 * Patch 5: changed a couple a spots to address how gdbserver checks
	    whether fork events have been requested by gdb and whether they
	    are enabled.  Also moved documentation changes to doc patch #7.

 * Patch 6: significant changes include:
            - changed method of removing fork child threads from the
	      thread list reported from the remote target, prior to
	      follow_fork.
	    - changed how gdb determines whether a process that is
	       to be killed contains a fork parent thread
	    - removed a test change that isn't needed for this patchset.
	    - moved documentation changes to doc patch #7.
	    
* Patch 7: new patch that incorporates all doc changes for the patchset.

The patch descriptions are mostly unchanged except for the new patch:

1/6: Preparatory patch that implements qSupported support for fork events
     and associated mechanisms.

     Previously approved minus doc portions here:
     https://sourceware.org/ml/gdb-patches/2015-03/msg00896.html

2/6: Implements functions to clone breakpoint lists in gdbserver.

     Previously approved pending a few 'nits', fixes are documented here:
     https://sourceware.org/ml/gdb-patches/2014-10/msg00883.html.

3/6: Implements follow fork for 'fork' but not 'vfork', for
     extended-remote targets only.

4/6: Adds the architecture-specific pieces of follow-fork that allows
     hardware watchpoints to be inherited by a forked child.

     Previously approved here:
     https://sourceware.org/ml/gdb-patches/2015-02/msg00262.html

5/6: Adds follow fork for 'vfork'.

6/6: Adds catchpoints for 'fork' and 'vfork', along with support for
     killing a process that has forked before follow_fork is completed.

7/7: Documentation for the patch series.

TESTING:
Testing was mostly done using x86_64 Ubuntu, with the exception of the
architecture-specific patch, #4.  There are a few failures that show up
but don't signify any problem.

 - Intermediate patches show failures due to the lack of features
   implemented in subsequent patches, like missing hardware watchpoint
   or catchpoint support.

 - Some vfork tests fail due to the lack of exec event support.

Thanks,
--Don

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2015-04-15 15:47 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-10 17:09 [PATCH v7 0/7] Remote fork events Don Breazeal
2015-04-10 17:10 ` [PATCH v7 4/7] Arch-specific remote follow fork Don Breazeal
2015-04-10 17:10 ` [PATCH v7 1/7] Identify remote fork event support Don Breazeal
2015-04-15 15:37   ` Pedro Alves
2015-04-10 17:10 ` [PATCH v7 3/7] Extended-remote Linux follow fork Don Breazeal
2015-04-15 15:38   ` Pedro Alves
2015-04-10 17:10 ` [PATCH v7 2/7] Clone remote breakpoints Don Breazeal
2015-04-10 17:11 ` [PATCH v7 6/7] Remote fork catch Don Breazeal
2015-04-15 15:39   ` Pedro Alves
2015-04-10 17:11 ` [PATCH v7 7/7] Extended-remote follow fork documentation Don Breazeal
2015-04-10 17:56   ` Eli Zaretskii
2015-04-10 18:15     ` Breazeal, Don
2015-04-10 18:29       ` Eli Zaretskii
2015-04-10 20:43         ` Don Breazeal
2015-04-15 15:47           ` Pedro Alves
2015-04-10 17:11 ` [PATCH v7 5/7] Remote follow vfork Don Breazeal
2015-04-15 15:38   ` Pedro Alves
2015-04-15 15:41     ` Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).