- 31 5月, 2017 1 次提交
-
-
由 Alessandro Arzilli 提交于
The condition that causes waitFast to fail can not happen in addThread and halt so we don't need to call the slower wait.
-
- 02 5月, 2017 1 次提交
-
-
由 Alessandro Arzilli 提交于
Fixes #809
-
- 22 4月, 2017 1 次提交
-
-
由 aarzilli 提交于
- move native backend to pkg/proc/native - move gdbserver backend to pkg/proc/gdbserial - move core dumps backend to pkg/proc/core
-
- 19 4月, 2017 2 次提交
- 07 4月, 2017 1 次提交
-
-
由 Alessandro Arzilli 提交于
* proc: refactor BinaryInfo part of proc.Process to own type The data structures and associated code used by proc.Process to implement target.BinaryInfo will also be useful to support a backend for examining core dumps, split this part of proc.Process to a different type. * proc: compile support for all executable formats unconditionally So far we only compiled in support for loading the executable format supported by the host operating system. Once support for core files is introduced it is however useful to support loading in all executable formats, there is no reason why it shouldn't be possible to examine a linux coredump on windows, or viceversa. * proc: bugfix: do not resume threads on detach if killing * Replace BinaryInfo interface with BinInfo() method returning proc.BinaryInfo
-
- 09 2月, 2017 2 次提交
-
-
由 Derek Parker 提交于
-
由 Derek Parker 提交于
-
- 08 2月, 2017 1 次提交
-
-
由 Alessandro Arzilli 提交于
* proc: Added trace benchmark Results: BenchmarkTrace-4 5000 36195899 ns/op * proc/linux: faster single step implementation. BenchmarkTrace-4 5000 2093271 ns/op * proc: Cache function debug_info entries to speed up variable lookup. BenchmarkTrace-4 5000 1864846 ns/op * proc/variables: Optimize FunctionArguments by prefetching frame BenchmarkTrace-4 5000 1815795 ns/op * proc/variables: optimized parseG BenchmarkTrace-4 10000 712767 ns/op
-
- 20 12月, 2016 1 次提交
-
-
由 aarzilli 提交于
Adds ability to load x87, SSE and AVX registers. Fixes #666
-
- 15 3月, 2016 1 次提交
-
-
由 Joe Grasse 提交于
On linux kernel 2.6.x, the Trace/Stop status is 'T' Fixes #209
-
- 28 2月, 2016 1 次提交
-
-
由 aarzilli 提交于
Fixes #414
-
- 25 2月, 2016 1 次提交
-
-
由 aarzilli 提交于
Fixes #419 (partial)
-
- 21 1月, 2016 1 次提交
-
-
由 Luke Hoban 提交于
Fixes #198.
-
- 10 1月, 2016 1 次提交
-
-
由 Derek Parker 提交于
-
- 09 1月, 2016 1 次提交
-
-
由 aarzilli 提交于
Sometimes after PtraceSingleStep the thread does not advance of a single instruction but is, instead, blocked immediately by a SIGSTOP Made singleStep repeat the process until a SIGTRAP is observed. Unsure where the SIGSTOP comes from.
-
- 10 10月, 2015 1 次提交
-
-
由 Derek Parker 提交于
Only used under Linux, no need to have it available on Process itself.
-
- 05 10月, 2015 1 次提交
-
-
由 aarzilli 提交于
/proc/pid/stat needs more complex parsing Fixes #239
-
- 20 8月, 2015 2 次提交
-
-
由 Derek Parker 提交于
Bring similar code up to top level, and keep OS dependant code in OS dependant files. DRY up code a bit.
-
由 Derek Parker 提交于
This patch aims to improve how Delve tracks the current goroutine, especially in very highly parallel programs. The main spirit of this patch is to ensure that even in situations where the goroutine we care about is not executing (common for len(g) > len(m)) we still end up back on that goroutine as a result of executing the 'next' command. We accomplish this by tracking our original goroutine id, and any time a breakpoint is hit or a threads stops, we examine the stopped threads and see if any are executing the goroutine we care about. If not, we set 'next' breakpoint for them again and continue them. This is done so that one of those threads can eventually pick up the goroutine we care about and begin executing it again.
-
- 02 8月, 2015 3 次提交
-
-
由 Derek Parker 提交于
-
由 Derek Parker 提交于
-
由 Derek Parker 提交于
-
- 27 6月, 2015 1 次提交
-
-
由 aarzilli 提交于
On a thread that's leader of its group, that is ptraced and that was survived by its children.
-
- 26 6月, 2015 2 次提交
-
-
由 Derek Parker 提交于
-
由 Derek Parker 提交于
-
- 25 6月, 2015 1 次提交
-
-
由 Derek Parker 提交于
For hardware breakpoints we have to set them on every thread. It could be the case that another thread is running. Stop it first, set the breakpoint, then continue it.
-
- 14 6月, 2015 1 次提交
-
-
由 Derek Parker 提交于
Previously either the terminal client or the debugger service would either lock main goroutine to a thread or provide a locked goroutine to run _all_ DebuggedProcess functions in. This is unnecessary because only ptrace functions need to be run from the same thread that originated the PT_ATTACH request. Here we use a specific thread-locked goroutine to service any ptrace request. That goroutine is also responsible for the initial spawning / attaching of the process, since it must be responsible for the PT_ATTACH request.
-
- 13 6月, 2015 2 次提交
-
-
由 Derek Parker 提交于
-
由 Derek Parker 提交于
-
- 12 6月, 2015 1 次提交
-
-
由 Derek Parker 提交于
* Remove half baked CallFn implementation. * Cleanup whitespace * Cleanup read/write mem functions
-
- 28 5月, 2015 1 次提交
-
-
由 Derek Parker 提交于
Process is an incorrect name for the DebuggedProcess struct that the thread is "a part" of. Also, no need to export that field.
-
- 05 5月, 2015 1 次提交
-
-
由 Derek Parker 提交于
-
- 02 5月, 2015 1 次提交
-
-
由 Derek Parker 提交于
-
- 01 5月, 2015 1 次提交
-
-
由 Derek Parker 提交于
-
- 24 4月, 2015 1 次提交
-
-
由 Derek Parker 提交于
-
- 23 4月, 2015 1 次提交
-
-
由 Derek Parker 提交于
-
- 04 4月, 2015 1 次提交
-
-
由 Derek Parker 提交于
-
- 01 4月, 2015 1 次提交
-
-
由 Derek Parker 提交于
* Better tracking of current goroutine * More efficient, eliminates superfluous step syscalls * Handles concurrency and thread coordination better
-
- 01 3月, 2015 1 次提交
-
-
由 Derek Parker 提交于
-