delve/pkg/proc/core
aarzilli 16d8bd647f proc/*: remove Process.Running
Implementing proc.Process.Running in a thread safe way is complicated
and nothing actually uses it besides tests, so we are better off
rewriting the tests without Running and removing it.

In particular:

* The call to d.target.Running() in service/debugger/debugger.go
  (Restart) can never return true because that line executes while
  holding processMutex and all continue operations are also executed
  while holding processMutex.
* The call to dbp.Running() pkg/proc/native/proc.go (Detach) can never
  return true, because it's only called from
  debugger.(*Debugger).detach() which is also always called while
  holding processMutex.

Since some tests are hard to write correctly without Process.Running a
simpler interface, Process.NotifyResumed, is introduced.

Fixes #830
2017-06-13 08:53:54 +02:00
..
core_test.go proc: refactoring: split backends to separate packages 2017-04-21 14:00:04 -07:00
core.go proc/*: remove Process.Running 2017-06-13 08:53:54 +02:00
linux_amd64_core.go proc: fix build on go1.6 (#800) 2017-04-24 12:44:59 -07:00