delve/pkg/proc/core
Alessandro Arzilli 7f094c81e9
proc: refactorings to implement follow-exec mode on Windows (#3441)
Miscellaneous non-functional changes to prepare for adding support for
follow-exec mode on Windows:

- removed (*nativeProcess).wait function from Windows backend (unused).
- move close of ptraceDoneChan from release to handlePtraceFuncs, this
  makes postExit callable by a function executed by execPtraceFunc.
- change addTarget to detach before creating the target object if we
  don't actually want to attach to the child process, also moved the
  detach call to (*processGroup).add instead of having one in addTarget
  and one in the code that calls (*processGroup).add.
- changed Detach to be a method of TargetGroup/ProcessGroup, the
  Windows backend will need access to the process group to call
  WaitForDebugEvent.
- moved resume method to processGroup. First all threads stopped at a
  breakpoint need to be stepped, then all other threads can be resumed.
  This is true also for linux even though it didn't cause the current
  tests to fail.
2023-08-28 12:46:19 -07:00
..
minidump proc: Fix typos in the comments (#3231) 2022-12-28 12:41:13 +01:00
core_test.go proc: when stepping set condition on thread ID if there is no curg (#3475) 2023-08-21 12:30:56 -07:00
core.go proc: refactorings to implement follow-exec mode on Windows (#3441) 2023-08-28 12:46:19 -07:00
delve_core.go pkg/proc: simplify code with trivial changes (#3436) 2023-07-09 08:27:05 +02:00
linux_core.go proc: fuzzing expression evaluator and variable loader (#3293) 2023-03-16 12:13:10 -07:00
windows_amd64_minidump.go proc: fuzzing expression evaluator and variable loader (#3293) 2023-03-16 12:13:10 -07:00