delve/pkg/proc
aarzilli adb1746c60 proc: fix inlined stack reading for midstack inlined calls
Due to a bug in the Go compiler midstack inlined calls do not report
their ranges correctly. We can't check if an address is in the range of
a DIE by simply looking at that DIE's range, we should also recursively
check the DIE's children's ranges.

Also fixes the way stacktraces of midstack inlined calls are reported
(they used to be inverted, with the deepest inlined stack frame
reported last).

Fixes #1795
2020-01-10 09:04:48 +01:00
..
core proc/core: enable PIE tests (#1755) 2019-11-12 07:26:20 -08:00
fbsdutil *: FreeBSD initial support (#1480) 2019-07-12 18:28:04 -07:00
gdbserial gdbserial: propagate unhandled signals back to a specific thread (#1749) 2019-11-08 13:02:12 -08:00
linutil pkg/proc: fix one typo. 2020-01-09 09:03:08 -08:00
native proc/native: call ElfUpdateSharedObjects after Attach 2020-01-02 09:30:22 -08:00
test tests: disable function call injection tests on macOS on Travis-CI 2020-01-02 09:20:12 -08:00
winutil proc/gdbserial: do not return floating point regs when not requested (#1497) 2019-02-26 08:53:45 -08:00
amd64_arch.go proc: build disassemblers unconditionally 2020-01-02 09:29:01 -08:00
amd64_disasm.go proc: build disassemblers unconditionally 2020-01-02 09:29:01 -08:00
arch.go proc: build disassemblers unconditionally 2020-01-02 09:29:01 -08:00
arm64_arch.go proc: build disassemblers unconditionally 2020-01-02 09:29:01 -08:00
arm64_disasm.go proc: build disassemblers unconditionally 2020-01-02 09:29:01 -08:00
bininfo.go proc: fix inlined stack reading for midstack inlined calls 2020-01-10 09:04:48 +01:00
breakpoints.go proc,debugger: implement logical breakpoints (#1717) 2019-11-01 12:41:06 -07:00
disasm.go proc: build disassemblers unconditionally 2020-01-02 09:29:01 -08:00
doc.go Move top-level packages into pkg 2017-02-08 12:17:19 -08:00
dwarf_expr_test.go proc: remove (*EvalScope).globalFor (#1658) 2019-08-11 13:56:16 -07:00
eval.go proc: support DW_AT_go_package_name (#1757) 2019-11-25 09:10:18 -08:00
fncall.go proc: allow calls to optimized functions (#1684) 2019-09-25 10:23:02 -07:00
interface.go proc: allow simultaneous call injection to multiple goroutines (#1591) 2019-06-30 10:44:30 -07:00
mem.go More Function Calls, parts 2 (#1504) 2019-05-30 08:08:37 -07:00
moduledata.go proc: support DW_AT_go_package_name (#1757) 2019-11-25 09:10:18 -08:00
proc_general_test.go proc: change memCache to delay reading 2018-04-23 10:13:21 -07:00
proc_linux_test.go *: Update import name to github.com/go-delve/delve 2019-01-04 19:43:13 +01:00
proc_test.go proc: fix inlined stack reading for midstack inlined calls 2020-01-10 09:04:48 +01:00
proc_unexported_test.go proc: allow calls to optimized functions (#1684) 2019-09-25 10:23:02 -07:00
proc_unix_test.go gdbserial: propagate unhandled signals back to a specific thread (#1749) 2019-11-08 13:02:12 -08:00
proc.go proc: build disassemblers unconditionally 2020-01-02 09:29:01 -08:00
registers.go delve: support linux-arm64 native debug(#118) 2019-11-27 11:07:31 -08:00
scope_test.go proc: correctly mark closure variables as shadowed (#1674) 2019-09-15 11:40:35 -07:00
stack.go proc: add options to bypass smart stacktraces (#1686) 2019-09-25 10:21:20 -07:00
threads.go proc: GetG should check that loc isn't nil before accessing its members (#1712) 2019-10-21 10:44:25 -07:00
types.go pkg/proc,pkg/dwarf: Introduce loclist package 2019-11-13 18:30:21 +01:00
variable_test.go nits fix: Fix code format and english grammar 2019-11-27 11:07:31 -08:00
variables.go proc: always resolve array types even if they don't appear in the 2019-10-29 09:04:36 +01:00