delve/pkg/proc
Yasushi Saito 82aff3f18a Extend the "frame" command to set the current frame. (#1110)
* Extend the "frame" command to set the current frame.

Command

  frame 3

sets up so that subsequent "print", "set", "whatis" command
will operate on frame 3.

  frame 3 print foo

continues to work.

Added "up", "down". They move the current frame up or down.

Implementation note:

This changes removes "scopePrefix" mode from the terminal/command.go and instead
have the command examine the goroutine/frame value to see if it is invoked in a
scoped context.

* Rename Command.Frame -> Command.frame.
2018-03-22 10:02:15 -07:00
..
core proc/core: Make TestCoreFpTest less flaky 2018-03-20 09:34:05 -07:00
gdbserial all: Spelling 2018-03-20 11:05:35 +01:00
native all: Spelling 2018-03-20 11:05:35 +01:00
test cmd, proc/test: disable optimizations on the C compiler 2017-11-28 11:00:53 -08:00
arch.go proc: support cgo stacktraces 2017-11-28 11:00:53 -08:00
bininfo.go proc,vendor: show global variables in disassembly 2018-03-22 10:01:00 -07: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 all: Spelling 2018-03-20 11:05:35 +01:00
eval.go all: Spelling 2018-03-20 11:05:35 +01: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 Extend the "frame" command to set the current frame. (#1110) 2018-03-22 10:02:15 -07:00
proc_unix_test.go proc: remove proc.Process.Kill 2018-03-06 09:06:19 -08:00
proc.go all: Spelling 2018-03-20 11:05:35 +01: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 all: Spelling 2018-03-20 11:05:35 +01:00
stack.go all: Spelling 2018-03-20 11:05:35 +01:00
threads.go all: Spelling 2018-03-20 11:05:35 +01: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,vendor: show global variables in disassembly 2018-03-22 10:01:00 -07:00