aarzilli
a5574bcdc7
proc: change memCache to delay reading
...
Change memCache so that the preloaded memory is not read immediately
but only after the actual read to the preloaded range.
This allows us to request caching the entire stack frame every time we
create an eval scope and no unnecessary reads will be made even if the
user is just trying to evaluate a global variable.
2018-04-23 10:13:21 -07:00
aarzilli
62fe792bfd
proc: disable caching for variables with an extended location
...
Our current frame caching strategy doesn't handle extended locations
expressions correctly, disable it on variables that don't have a simple
address.
2018-01-31 06:39:44 -08:00
aarzilli
99cad1044b
pkg/proc, pkg/dwarf/op: support DW_OP_piece, DW_OP_regX, DW_OP_fbreg
...
These are emitted by C compilers but also by the current development
version of the go compiler with the dwarflocationlists flag.
2017-11-21 11:51:02 -08:00
aarzilli
15bac71979
proc: refactoring: split backends to separate packages
...
- move native backend to pkg/proc/native
- move gdbserver backend to pkg/proc/gdbserial
- move core dumps backend to pkg/proc/core
2017-04-21 14:00:04 -07:00
aarzilli
182f805094
proc: Use MemoryReader inside memoryReadWriter
2017-04-18 13:25:11 -07:00
Derek Parker
53f0d24057
Move top-level packages into pkg
2017-02-08 12:17:19 -08:00