delve/pkg
aarzilli 7bec20e5fc proc: avoid scanning system stack if it's not executing cgo
The runtime calls into g0 in many places, not necessarily using
runtime.systemstack or runtime.asmcgocall.
One example of this is the call to runtime.newstack inside
runtime.morestack.

If we stop the process while one goroutine is executing
runtime.newstack we would be unable to fully scan its stack because we
don't know that we have to switch back to the goroutine stack after
runtime.newstack.

Instead of tracking down every possible way that the runtime switches
to g0 we switch to the goroutine stack immediately after the top of the
stack, unless cgo is being executed on the systemstack.

Fixes #1066
2018-01-05 10:29:31 -08:00
..
config pkg/terminal: print DWARF location expression with whatis 2017-12-20 16:34:47 -08:00
dwarf pkg/terminal: print DWARF location expression with whatis 2017-12-20 16:34:47 -08:00
goversion cmd/dlv: do not pass "linkmode internal" for windows on go1.9 and later 2017-08-01 11:20:25 -06:00
proc proc: avoid scanning system stack if it's not executing cgo 2018-01-05 10:29:31 -08:00
terminal pkg/terminal: print DWARF location expression with whatis 2017-12-20 16:34:47 -08:00
version *: Bump version to 1.0.0-rc.2 2017-10-16 10:53:20 -07:00