delve/pkg
Alessandro Arzilli e69d536e81
proc/native: fix flakyness of TestStepConcurrentDirect on linux/386 (#2179)
TestStepConcurrentDirect will occasionally fail (7% of the time on my
setup) by either causing the target processs to execute an invalid
instruction or (more infrequently) by switching to the wrong thread.

Both of those are caused by receiving SIGTRAPs for threads hitting a
breakpoint after it has been removed (the thread hits the breakpoint,
we stop everything and remove the breakpoint and only after we receive
the signal).

Change native.(*nativeProcess).stop to handle SIGTRAPs that can't be
attributed to a breakpoint, a hardcoded breakpoint in the program's
text, or manual stops (and therefore are likely caused by phantom
breakpoint hits).

Co-authored-by: a <a@kra>
2020-11-03 10:28:37 -08:00
..
astutil proc: simplify next/step/stepout condition code 2020-04-04 11:00:54 -07:00
config config: add option for printfile() line count (#2043) 2020-05-11 09:50:25 -07:00
dwarf dwarf/line: ignore end_of_sequence entry if AllPCsBetween (#2180) 2020-09-24 08:03:46 -07:00
gobuild gobuild: pass-through stdout to 'go' command invocation (#2044) 2020-05-11 09:44:25 -07:00
goversion Travis-CI: bump Go version in test matrix 2020-08-17 10:25:01 +02:00
locspec cmd/dlv: Fix trace output (#2038) 2020-05-13 08:38:10 +02:00
logflags service/rpccommon: log error for conns rejected by --only-same-user (#2211) 2020-10-22 08:23:55 -07:00
proc proc/native: fix flakyness of TestStepConcurrentDirect on linux/386 (#2179) 2020-11-03 10:28:37 -08:00
terminal Remove redundant check in call tests 2020-11-03 11:59:16 +01:00
version all: bump version and release notes 2020-07-29 21:59:07 +02:00