delve/pkg/proc
Alessandro Arzilli 4fc8528997 proc/linux: do not route signals to threads while stopping (#1752)
* proc/linux: do not route signals to threads while stopping

While we are trying to stop the process we should not route signals
sent to threads because that will result in threads being resumed.
Also keep better track of which threads are stopped.

This fixes an incompatibility with Go 1.14, which sends a lot of
signals to its threads to implement non-cooperative preemption,
resulting in Delve hanging waiting for an already-stopped thread to
stop.

In principle however this bug has nothing to do with Go 1.14 and could
manifest in any instance of high signal pressure.

* Makefile: discard stderr of "go list"

In module mode "go" will print messages about downloading modules to
stderr, we shouldn't confuse them for the real command output.
2019-11-12 06:58:54 -08:00
..
core pkg/proc/core: add error details when reading spliced memory (#1701) 2019-10-07 09:33:16 -07:00
fbsdutil *: FreeBSD initial support (#1480) 2019-07-12 18:28:04 -07:00
gdbserial gdbserial: propagate unhandled signals back to a specific thread (#1749) 2019-11-08 13:02:12 -08:00
linutil proc/linutil: Fix register bitmasks 2019-06-16 09:35:14 +02:00
native proc/linux: do not route signals to threads while stopping (#1752) 2019-11-12 06:58:54 -08:00
test travis-ci: fix dwz test problems (#1648) 2019-07-31 13:09:00 -07:00
winutil proc/gdbserial: do not return floating point regs when not requested (#1497) 2019-02-26 08:53:45 -08:00
arch.go pkg/proc: Untangle Arch from G struct 2019-08-09 18:15:44 +02:00
bininfo.go proc,debugger: implement logical breakpoints (#1717) 2019-11-01 12:41:06 -07:00
breakpoints.go proc,debugger: implement logical breakpoints (#1717) 2019-11-01 12:41:06 -07:00
disasm_amd64.go proc/*: allow stepping into functions without debug_info symbols 2018-11-20 12:57:25 -08:00
disasm.go pkg/proc: Consolidate BinaryInfo/Image methods 2019-08-10 14:03:12 +02:00
doc.go Move top-level packages into pkg 2017-02-08 12:17:19 -08:00
dwarf_expr_test.go proc: remove (*EvalScope).globalFor (#1658) 2019-08-11 13:56:16 -07:00
eval.go proc: always resolve array types even if they don't appear in the 2019-10-29 09:04:36 +01:00
fncall.go proc: allow calls to optimized functions (#1684) 2019-09-25 10:23:02 -07:00
interface.go proc: allow simultaneous call injection to multiple goroutines (#1591) 2019-06-30 10:44:30 -07:00
mem.go More Function Calls, parts 2 (#1504) 2019-05-30 08:08:37 -07:00
moduledata.go proc: support debugging plugins (#1414) 2019-05-08 14:06:38 -07:00
proc_general_test.go proc: change memCache to delay reading 2018-04-23 10:13:21 -07:00
proc_linux_test.go *: Update import name to github.com/go-delve/delve 2019-01-04 19:43:13 +01:00
proc_test.go proc/linux: do not route signals to threads while stopping (#1752) 2019-11-12 06:58:54 -08:00
proc_unexported_test.go proc: allow calls to optimized functions (#1684) 2019-09-25 10:23:02 -07:00
proc_unix_test.go gdbserial: propagate unhandled signals back to a specific thread (#1749) 2019-11-08 13:02:12 -08:00
proc.go proc,debugger: implement logical breakpoints (#1717) 2019-11-01 12:41:06 -07:00
registers_amd64.go proc/gdbserial: do not return floating point regs when not requested (#1497) 2019-02-26 08:53:45 -08:00
registers.go proc/gdbserial: do not return floating point regs when not requested (#1497) 2019-02-26 08:53:45 -08:00
scope_test.go proc: correctly mark closure variables as shadowed (#1674) 2019-09-15 11:40:35 -07:00
stack.go proc: add options to bypass smart stacktraces (#1686) 2019-09-25 10:21:20 -07:00
threads.go proc: GetG should check that loc isn't nil before accessing its members (#1712) 2019-10-21 10:44:25 -07:00
types.go proc,debugger: implement logical breakpoints (#1717) 2019-11-01 12:41:06 -07:00
variable_test.go tests: remove duplicate code (#1669) 2019-08-14 08:57:05 -07:00
variables.go proc: always resolve array types even if they don't appear in the 2019-10-29 09:04:36 +01:00