delve/pkg/proc
Alessandro Arzilli 1893c9769b
Miscellaneous fixes for Windows native backend (#2736)
* proc/native: always stop after RequestManualStop on Windows

On Windows RequestManualStop will generate an exception on a special
DbgUiRemoteBreakin thread, sometimes this thread will die before we
finish stopping the process. We need to account for that and still stop
even if the thread is gone and no other thread hit a breakpoint.

Fixes flakiness of TestIssue419.

* proc/native: fix watchpoints with new threads on Windows

When a new thread is created we must reapply all watchpoints to it,
like we do on linux.

* tests: be lenient on goroutinestackprog tests on Windows

We can not guarantee that we find all goroutines stopped in a good
place and sometimes the stacktrace fails on Windows.
2021-10-13 08:43:54 -07:00
..
amd64util proc/native: low level support for watchpoints in linux/amd64 (#2301) 2021-05-06 10:33:56 -07:00
core *: clean up staticcheck problems (#2723) 2021-09-28 12:07:42 -07:00
fbsdutil proc: remove duplicate Registers.Get implementations (#2415) 2021-04-28 10:00:26 -07:00
gdbserial proc/gdbserver: support watchpoints (#2659) 2021-10-04 14:45:05 -07:00
internal/ebpf pkg/proc: Parse Goroutine ID in eBPF tracer (#2654) 2021-08-24 14:53:27 +02:00
linutil *: clean up staticcheck problems (#2723) 2021-09-28 12:07:42 -07:00
macutil proc/native,proc/gdbserial: detect and complain about Rosetta (#2569) 2021-07-06 08:53:39 -07:00
native Miscellaneous fixes for Windows native backend (#2736) 2021-10-13 08:43:54 -07:00
test proc/test: update RegabiSupported 2021-10-02 15:44:30 +02:00
winutil proc: remove duplicate Registers.Get implementations (#2415) 2021-04-28 10:00:26 -07:00
amd64_arch.go pkg/proc: Prefer throw instead of fatalthrow (#2616) 2021-07-27 23:58:02 -07:00
amd64_disasm.go proc: remove duplicate Registers.Get implementations (#2415) 2021-04-28 10:00:26 -07:00
arch.go proc: add way to use CPU registers in expressions (#2446) 2021-05-04 12:56:17 -07:00
arm64_arch.go pkg/proc: Prefer throw instead of fatalthrow (#2616) 2021-07-27 23:58:02 -07:00
arm64_disasm.go proc: remove duplicate Registers.Get implementations (#2415) 2021-04-28 10:00:26 -07:00
bininfo.go proc: rewrite FindFileLocation to support generics 2021-10-02 15:44:30 +02:00
breakpoints.go proc: do not check return args when loading return vals of call injection 2021-10-02 15:44:30 +02:00
disasm.go proc: remove duplicate Registers.Get implementations (#2415) 2021-04-28 10:00:26 -07:00
doc.go Move top-level packages into pkg 2017-02-08 12:17:19 -08:00
dump.go terminal,service,proc/*: adds dump command (gcore equivalent) (#2173) 2021-01-29 13:39:33 -08:00
dwarf_export_test.go proc: give unique addresses to registerized variables (#2527) 2021-07-02 18:37:55 +02:00
dwarf_expr_test.go pkg/proc: merge register data before writing to register (#2699) 2021-09-24 15:27:44 -07:00
eval.go proc,dwarf/godwarf: support parametric types with dictionaries 2021-10-02 15:44:30 +02:00
fncall.go proc,dwarf/godwarf: support parametric types with dictionaries 2021-10-02 15:44:30 +02:00
goroutine_cache.go proc/*,service: replace uses of uintptr with uint64 (#2163) 2020-09-09 10:36:15 -07:00
i386_arch.go pkg/proc: Prefer throw instead of fatalthrow (#2616) 2021-07-27 23:58:02 -07:00
i386_disasm.go proc: remove duplicate Registers.Get implementations (#2415) 2021-04-28 10:00:26 -07:00
interface.go pkg/proc: Parse Goroutine ID in eBPF tracer (#2654) 2021-08-24 14:53:27 +02:00
mem.go pkg/proc: merge register data before writing to register (#2699) 2021-09-24 15:27:44 -07:00
moduledata.go _scripts: auto check that pkg/proc and runtime are synchronized (#2557) 2021-08-23 11:32:02 -07:00
pe.go proc: fix typo 'unkown' => 'unknown' (#2473) 2021-05-10 11:36:03 -07:00
proc_general_test.go tests: correctly check for 1.17 + regabi (#2673) 2021-08-24 08:21:17 -07:00
proc_linux_test.go proc/*: add launch option to disable ASLR (#2202) 2020-10-21 12:50:52 -07:00
proc_test.go Miscellaneous fixes for Windows native backend (#2736) 2021-10-13 08:43:54 -07:00
proc_unexported_test.go proc: correctly truncate the result of binary ops on integers (#2463) 2021-05-17 10:31:05 -07:00
proc_unix_test.go tests: fix TestIssue419 (#2682) 2021-08-31 10:44:57 -07:00
registers.go proc: remove duplicate Registers.Get implementations (#2415) 2021-04-28 10:00:26 -07:00
scope_test.go proc: do not assign temporary breakpoint IDs (#2650) 2021-09-29 12:01:37 +02:00
stack.go *: clean up staticcheck problems (#2723) 2021-09-28 12:07:42 -07:00
stackwatch.go proc/gdbserver: support watchpoints (#2659) 2021-10-04 14:45:05 -07:00
target_exec.go proc: fix deferreturn detection for Go 1.18 2021-10-02 15:44:30 +02:00
target.go proc: use trampoline attribute to detect autogenerated wrappers 2021-10-02 15:44:30 +02:00
threads.go proc/*: implement proc.(*compositeMemory).WriteMemory (#2271) 2021-03-04 10:28:28 -08:00
types.go proc,dwarf/godwarf: support parametric types with dictionaries 2021-10-02 15:44:30 +02:00
variable_test.go pkg/proc: Move proc exec funcs to Target methods 2020-03-25 17:45:12 +01:00
variables.go proc,dwarf/godwarf: support parametric types with dictionaries 2021-10-02 15:44:30 +02:00
x86_disasm.go proc: remove duplicate Registers.Get implementations (#2415) 2021-04-28 10:00:26 -07:00