delve/pkg
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
..
astutil proc: when stepping set condition on thread ID if there is no curg (#3475) 2023-08-21 12:30:56 -07:00
config trace: add timestamp to the output (#3358) 2023-05-08 10:41:47 -07:00
dwarf DWARF CFI: use a stack for restore/remember opcodes (#3480) 2023-08-23 12:56:58 -07:00
elfwriter terminal,service,proc/*: adds dump command (gcore equivalent) (#2173) 2021-01-29 13:39:33 -08:00
gobuild gobuild: pass user specified -C argument first (#3456) 2023-08-14 15:37:57 -07:00
goversion goversion: parse new version format and simplify version representation (#3470) 2023-08-16 09:55:02 -07:00
locspec locspec: fix SubstitutePath when converting a Windows path to Linux (#3453) 2023-08-14 15:34:29 -07:00
logflags logflags: simplify Logger interface (#3274) 2023-08-07 13:55:45 -07:00
proc proc: refactorings to implement follow-exec mode on Windows (#3441) 2023-08-28 12:46:19 -07:00
terminal proc,service,terminal: add ways to list goroutines waiting on a channel (#3481) 2023-08-23 13:02:34 -07:00
version all: Bump to v1.21.0 (#3428) 2023-06-27 09:04:52 -07:00