delve/pkg/proc
aarzilli 4f70ff0a77 terminal: make printcontext use SelectedGoroutine
printcontext should use SelectedGoroutine instead of trusting that the
goroutine running on current thread matches the SelectedGoroutine.

When the user switches to a parked goroutine CurrentThread and
SelectedGoroutine will diverge.

Almost all calls to printcontext are safe, they happen after a continue
command returns when SelectedGoroutine and CurrentThread always agree,
but the calls in frameCommand and listCommand are wrong.

Additionally we should stop reporting an error when the debugger is
stopped on an unknown PC address.
2018-04-13 15:31:50 -07:00
..
core proc/core: Make TestCoreFpTest less flaky 2018-03-20 09:34:05 -07:00
gdbserial proc/gdbserial,dlv/cmds: make logGdbWire command line configurable 2018-04-13 15:31:02 -07:00
native proc/native/windows: when there is an error during Attach dbp might be nil 2018-04-10 14:45:46 -07:00
test proc: support inlining 2018-03-26 14:30:38 -04:00
arch.go proc: support cgo stacktraces 2017-11-28 11:00:53 -08:00
bininfo.go proc: support inlining 2018-03-26 14:30:38 -04:00
breakpoints.go proc: next should not skip lines with conditional bps 2017-11-20 11:25:35 -08:00
disasm_amd64.go proc,vendor: show global variables in disassembly 2018-03-22 10:01:00 -07:00
disasm.go proc,vendor: show global variables in disassembly 2018-03-22 10:01:00 -07:00
doc.go Move top-level packages into pkg 2017-02-08 12:17:19 -08:00
dwarf_expr_test.go proc: support inlining 2018-03-26 14:30:38 -04:00
eval.go proc/eval: strings of different length are never equal 2018-04-10 14:46:31 -07:00
interface.go proc: remove proc.Process.Halt 2018-03-06 09:06:19 -08:00
mem.go proc: disable caching for variables with an extended location 2018-01-31 06:39:44 -08:00
moduledata.go dwarf/reader,proc: support DW_AT_abstract_origin (#1111) 2018-02-13 09:20:45 -08:00
proc_general_test.go proc: refactoring: split backends to separate packages 2017-04-21 14:00:04 -07:00
proc_test.go proc: support inlining 2018-03-26 14:30:38 -04:00
proc_unix_test.go proc: remove proc.Process.Kill 2018-03-06 09:06:19 -08:00
proc.go terminal: make printcontext use SelectedGoroutine 2018-04-13 15:31:50 -07:00
registers_amd64.go pkg/proc, pkg/dwarf/op: support DW_OP_piece, DW_OP_regX, DW_OP_fbreg 2017-11-21 11:51:02 -08:00
registers.go proc: refactor stack.go to use DWARF registers 2017-11-17 10:17:24 -08:00
scope_test.go proc: support inlining 2018-03-26 14:30:38 -04:00
stack.go proc: support inlining 2018-03-26 14:30:38 -04:00
threads.go proc: support inlining 2018-03-26 14:30:38 -04:00
types.go proc,vendor: show global variables in disassembly 2018-03-22 10:01:00 -07:00
variable_test.go Extend the "frame" command to set the current frame. (#1110) 2018-03-22 10:02:15 -07:00
variables.go proc: support inlining 2018-03-26 14:30:38 -04:00