delve/proc
Derek Parker 28e0a322bf proc: Improve 'next' functionality
Instead of trying to be clever and make an 'educated guess' as to where
the flow of control may go next, simple do the more naive, yet correct,
approach of setting a breakpoint everywhere we can in the function and
seeing where we end up. On top of this we were already setting a
breakpoint at the return address and deferred functions, so that remains
the same.

This removes a lot of gnarly, hard to maintain code and takes all the
guesswork out of this command.

Fixes #281
2015-10-22 10:14:24 -07:00
..
test terminal: Implements init file and source command 2015-10-04 10:32:38 -07:00
arch.go Fix: Parse rc version strings 2015-08-11 08:37:27 -05:00
breakpoints.go proc/breakpoint Add breakpoint statistics 2015-10-09 16:01:06 -07:00
doc.go Improve code documentation 2015-07-28 13:37:55 -05:00
exc_user_darwin.c Rename package proctl -> proc 2015-06-12 14:49:23 -05:00
exc.h Rename package proctl -> proc 2015-06-12 14:49:23 -05:00
exec_darwin.c Only make new process a group leader, not session 2015-08-13 18:18:42 -05:00
exec_darwin.h Properly terminate C string array for execve on OSX 2015-07-07 08:42:34 -05:00
go_version.go Fix: Support for x.y versions 2015-08-12 09:30:47 -05:00
mach_exc_user_darwin.c Rename package proctl -> proc 2015-06-12 14:49:23 -05:00
mach_exc.defs Rename package proctl -> proc 2015-06-12 14:49:23 -05:00
mach_exc.h Rename package proctl -> proc 2015-06-12 14:49:23 -05:00
proc_darwin.c proc.Next: Further improve handling of highly parallel programs 2015-08-21 22:33:42 -05:00
proc_darwin.go proc: Properly close channels upon process exit 2015-10-09 17:33:16 -07:00
proc_darwin.h Fix: Improve handling of soft signals on darwin 2015-08-11 19:20:25 -05:00
proc_linux.go proc: refactor: move Process.comm to Process.os.comm 2015-10-09 17:33:16 -07:00
proc_test.go proc: Improve 'next' functionality 2015-10-22 10:14:24 -07:00
proc.go proc: Improve 'next' functionality 2015-10-22 10:14:24 -07:00
ptrace_darwin.go proc: Refactor ptrace calls on Darwin 2015-10-06 10:45:36 -07:00
ptrace_linux.go Rename package proctl -> proc 2015-06-12 14:49:23 -05:00
registers_darwin_amd64.go Visually align registers & show 16 bytes for each 2015-09-02 00:00:48 -05:00
registers_linux_amd64.go Visually align registers & show 16 bytes for each 2015-09-02 00:00:48 -05:00
registers.go proc.(*Thread).GetG: reading TLS memory directly for g address instead of modifying the executable code 2015-07-28 07:33:51 +02:00
stack.go terminal,proc: Improved goroutine printing 2015-10-18 14:40:52 -07:00
threads_darwin.c command (next): Improvements for parallel programs 2015-08-20 09:32:59 -05:00
threads_darwin.go thread.Halt: Remove duplication between OS implementations 2015-08-20 10:06:33 -05:00
threads_darwin.h command (next): Improvements for parallel programs 2015-08-20 09:32:59 -05:00
threads_linux.go proc: refactor: move Process.comm to Process.os.comm 2015-10-09 17:33:16 -07:00
threads.go proc: Improve 'next' functionality 2015-10-22 10:14:24 -07:00
variables_test.go proc/variables: Support for embedded structs 2015-10-06 18:17:49 -07:00
variables.go proc: Update help for new goroutines flags & minor cleanup 2015-10-18 15:02:14 -07:00