delve/service/debugger
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
..
debugger_darwin.go Add support for Windows. 2016-01-20 19:06:31 -08:00
debugger_linux.go Disassemble command 2016-02-11 16:59:07 -08:00
debugger_windows.go Add support for Windows. 2016-01-20 19:06:31 -08:00
debugger.go proc/*: remove Process.Running 2017-06-13 08:53:54 +02:00
locations_test.go Move top-level packages into pkg 2017-02-08 12:17:19 -08:00
locations.go Minor post-refactoring cleanup (#808) 2017-04-28 10:15:39 -07:00