proc,service/debugger: introduce TargetGroup abstraction (#3030)

Introduces a new TargetGroup abstraction that can be used to manage
multiple related targets.
No actual management of child processes is implemented here, this is
just a refactoring to make it possible to do that in the future.

Updates #2551
This commit is contained in:
Alessandro Arzilli
2022-07-14 23:14:45 +02:00
committed by GitHub
parent 1fe03e728c
commit 6f34add5db
22 changed files with 619 additions and 339 deletions

View File

@ -38,7 +38,6 @@ type ProcessInternal interface {
// ErrProcessExited or ErrProcessDetached).
Valid() (bool, error)
Detach(bool) error
ContinueOnce(*ContinueOnceContext) (trapthread Thread, stopReason StopReason, err error)
// RequestManualStop attempts to stop all the process' threads.
RequestManualStop(cctx *ContinueOnceContext) error