delve/pkg/terminal
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
..
command_test.go terminal: make printcontext use SelectedGoroutine 2018-04-13 15:31:50 -07:00
command.go terminal: make printcontext use SelectedGoroutine 2018-04-13 15:31:50 -07:00
config.go all: Spelling 2018-03-20 11:05:35 +01:00
disasmprint.go Fix various issues detected by megacheck (#880) 2017-06-29 11:15:59 -07:00
docgen.go Fix various issues detected by megacheck (#880) 2017-06-29 11:15:59 -07:00
terminal_other.go Move top-level packages into pkg 2017-02-08 12:17:19 -08:00
terminal_test.go terminal: disable file path case normalization on macOS 2018-01-28 01:50:02 -08:00
terminal_windows.go Move top-level packages into pkg 2017-02-08 12:17:19 -08:00
terminal.go all: Spelling 2018-03-20 11:05:35 +01:00