delve/pkg/terminal
Felix Geisendörfer 7bf5482b32
examinememory: evaluate addr as expression (#2385)
* examinememory: evaluate addr as expression

This makes it easy to read memory locations at an offset of a known
address, e.g.:

x 0xc000046800 + 32

* use feedback from @aarzilli

- expression mode is now enabled via -x flag
- support "-x var", "-x &var" in addition to "-x <addr expr>"
- some refactoring

* add test cases

* deal with double spaces

* update docs

* add new failing test

* fix docs

* simplify implementation, update test & docs

* Fix docs
2021-04-26 10:36:24 -07:00
..
colorize terminal: Go syntax highlighting for listings (#2294) 2021-01-28 07:08:14 -08:00
starbind *: remove unused code, variables and constants (#2426) 2021-04-12 14:57:39 -07:00
command_test.go examinememory: evaluate addr as expression (#2385) 2021-04-26 10:36:24 -07:00
command.go examinememory: evaluate addr as expression (#2385) 2021-04-26 10:36:24 -07:00
config.go pkg/config: add disassemble-flavor option for config 2020-04-23 12:10:05 -07:00
disasmprint.go *: un-export unnecessarily public symbols 2020-03-31 14:47:29 -07:00
docgen.go terminal: divide commands into categories 2020-03-09 10:11:21 -07:00
groups.go terminal: divide commands into categories 2020-03-09 10:11:21 -07:00
starlark_test.go *: Skipped tests review (#2430) 2021-04-12 14:56:12 -07:00
starlark.go *: Fix go vet complaints (#1935) 2020-03-18 09:25:32 -07:00
terminal_other.go Move top-level packages into pkg 2017-02-08 12:17:19 -08:00
terminal_test.go terminal: prompt to kill remote if process exited (#1621) 2019-07-17 15:54:15 -07:00
terminal_windows.go Move top-level packages into pkg 2017-02-08 12:17:19 -08:00
terminal.go terminal: add optional format argument to print, display (#2398) 2021-03-25 09:45:30 -07:00