delve/pkg/proc/native
Alessandro Arzilli 07e53f7cbb proc: fix interaction of RequestManualStop and conditional breakpoints (#876)
* proc: fix interaction of RequestManualStop and conditional breakpoints

A conditional breakpoint that is hit but has the condition evaluate to
false can block a RequestManualStop from working. If the conditional
breakpoint is set on an instruction that is executed very frequently by
multiple goroutines (or many conditional breakpoints are set) it could
prevent all calls to RequestManualStop from working.

This commit fixes the problem by changing proc.Continue to exit
unconditionally after a RequestManualStop is called.

* proc/gdbserial: fix ContinueOnce getting stuck on macOS

Fixes #902
2017-07-07 16:29:37 -07:00
..
exc_user_darwin.c proc: refactoring: split backends to separate packages 2017-04-21 14:00:04 -07:00
exc.h proc: refactoring: split backends to separate packages 2017-04-21 14:00:04 -07:00
exec_darwin.c proc: refactoring: split backends to separate packages 2017-04-21 14:00:04 -07:00
exec_darwin.h proc: refactoring: split backends to separate packages 2017-04-21 14:00:04 -07:00
mach_exc_user_darwin.c proc: refactoring: split backends to separate packages 2017-04-21 14:00:04 -07:00
mach_exc.defs proc: refactoring: split backends to separate packages 2017-04-21 14:00:04 -07:00
mach_exc.h proc: refactoring: split backends to separate packages 2017-04-21 14:00:04 -07:00
proc_darwin.c proc: refactoring: split backends to separate packages 2017-04-21 14:00:04 -07:00
proc_darwin.go proc/native/windows: inline PtraceDetach delete ptrace_windows.go (#903) 2017-06-29 11:13:32 -07:00
proc_darwin.h proc: refactoring: split backends to separate packages 2017-04-21 14:00:04 -07:00
proc_linux.go proc/native/windows: inline PtraceDetach delete ptrace_windows.go (#903) 2017-06-29 11:13:32 -07:00
proc_windows.go proc/native/windows: inline PtraceDetach delete ptrace_windows.go (#903) 2017-06-29 11:13:32 -07:00
proc.go proc: fix interaction of RequestManualStop and conditional breakpoints (#876) 2017-07-07 16:29:37 -07:00
ptrace_darwin.go proc: refactoring: split backends to separate packages 2017-04-21 14:00:04 -07:00
ptrace_linux.go proc: refactoring: split backends to separate packages 2017-04-21 14:00:04 -07:00
registers_darwin_amd64.go proc: refactoring: merge target into proc 2017-04-21 14:00:04 -07:00
registers_linux_amd64.go proc: refactoring: merge target into proc 2017-04-21 14:00:04 -07:00
registers_windows_amd64.go proc: refactoring: merge target into proc 2017-04-21 14:00:04 -07:00
syscall_windows_amd64.go proc: refactoring: split backends to separate packages 2017-04-21 14:00:04 -07:00
syscall_windows.go proc: refactoring: split backends to separate packages 2017-04-21 14:00:04 -07:00
threads_darwin.c proc: refactoring: split backends to separate packages 2017-04-21 14:00:04 -07:00
threads_darwin.go proc/native: error when reading/writing memory of exited process (#812) 2017-05-01 09:57:37 -07:00
threads_darwin.h proc: refactoring: split backends to separate packages 2017-04-21 14:00:04 -07:00
threads_linux.go proc/native/linux: call waitFast instead of wait in addThread and halt (#855) 2017-05-30 11:08:27 -07:00
threads_windows.go proc/native: error when reading/writing memory of exited process (#812) 2017-05-01 09:57:37 -07:00
threads.go Fix various issues detected by megacheck (#880) 2017-06-29 11:15:59 -07:00
zsyscall_windows.go proc: refactoring: split backends to separate packages 2017-04-21 14:00:04 -07:00