public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v8 0/7]
@ 2015-04-17 20:59 Don Breazeal
  2015-04-17 20:59 ` [PATCH v8 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-17 20:59 UTC (permalink / raw)
  To: gdb-patches, palves

This is v8 of the patch series implementing remote follow-fork, last
posted here: https://sourceware.org/ml/gdb-patches/2015-04/msg00392.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: delete stale comment.

 * Patch 3: addressed a number of review comments.
	    - fixed some comments.
	    - fixed reset_lwp_ptrace_options_callback to stop the lwps
	      and set must_set_ptrace_flags correctly.
	    - remove 'is_fork_child argument from remote_detach_1

 * Patch 5: removed assertions, expand 'if' conditions for the same code.

 * Patch 6: significant changes include:
            - in remove_new_fork_child, use ALL_NON_EXITED_THREADS instead
	      of iterate_over_threads and handle multiple simultaneous
	      pending forks.
	    - in remote_update_thread_list call
	      remote_notif_get_pending_events before remove_new_fork_child.
	    
* Patch 7: in fork event description change ptid to thread ID and add a
           reference to thread-id syntax.

The patch descriptions are unchanged:

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-05-08 17:47 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-17 20:59 [PATCH v8 0/7] Don Breazeal
2015-04-17 20:59 ` [PATCH v8 4/7] Arch-specific remote follow fork Don Breazeal
2015-04-17 20:59 ` [PATCH v8 1/7] Identify remote fork event support Don Breazeal
2015-04-23 14:17   ` Pedro Alves
2015-04-17 20:59 ` [PATCH v8 3/7] Extended-remote Linux follow fork Don Breazeal
2015-04-23 14:18   ` Pedro Alves
2015-04-17 20:59 ` [PATCH v8 2/7] Clone remote breakpoints Don Breazeal
2015-04-17 21:00 ` [PATCH v8 7/7] Extended-remote follow fork documentation Don Breazeal
2015-04-23 14:20   ` Pedro Alves
2015-04-17 21:00 ` [PATCH v8 6/7] Remote fork catch Don Breazeal
2015-04-23 14:19   ` Pedro Alves
2015-05-06 16:10     ` Don Breazeal
2015-05-08 10:14       ` Pedro Alves
2015-05-08 16:42         ` Don Breazeal
2015-05-08 17:47           ` Pedro Alves
2015-05-08 10:16       ` Pedro Alves
2015-04-17 21:00 ` [PATCH v8 5/7] Remote follow vfork Don Breazeal
2015-04-23 14:19   ` 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).