delve/pkg/proc
aarzilli 5372588c61 proc: support cgo stacktraces
When creating a stack trace we should switch between the goroutine
stack and the system stack (where cgo code is executed) as appropriate
to reconstruct the logical stacktrace.

Goroutines that are currently executing on the system stack will have
the SystemStack flag set, frames of the goroutine stack will have a
negative FrameOffset (like always) and frames of the system stack will
have a positive FrameOffset (which is actually just the CFA value for
the frame).

Updates #935
2017-11-28 11:00:53 -08:00
..
core proc: next should not skip lines with conditional bps 2017-11-20 11:25:35 -08:00
gdbserial proc: next should not skip lines with conditional bps 2017-11-20 11:25:35 -08:00
native proc/native/linux: ignore ENODEV when retrieving fp registers 2017-11-21 11:48:39 -08: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 pkg/proc, pkg/dwarf/op: support DW_OP_piece, DW_OP_regX, DW_OP_fbreg 2017-11-21 11:51:02 -08:00
breakpoints.go proc: next should not skip lines with conditional bps 2017-11-20 11:25:35 -08:00
disasm_amd64.go pkg/proc: fix StepBreakpoint handling 2017-11-21 00:40:26 -08:00
disasm.go pkg/proc: fix StepBreakpoint handling 2017-11-21 00:40:26 -08:00
doc.go Move top-level packages into pkg 2017-02-08 12:17:19 -08:00
dwarf_expr_test.go pkg/proc, pkg/dwarf/op: support DW_OP_piece, DW_OP_regX, DW_OP_fbreg 2017-11-21 11:51:02 -08:00
eval.go proc: support cgo stacktraces 2017-11-28 11:00:53 -08:00
interface.go proc: breakpoints refactoring 2017-11-20 11:25:35 -08:00
mem.go pkg/proc, pkg/dwarf/op: support DW_OP_piece, DW_OP_regX, DW_OP_fbreg 2017-11-21 11:51:02 -08:00
moduledata.go pkg/proc, pkg/dwarf/op: support DW_OP_piece, DW_OP_regX, DW_OP_fbreg 2017-11-21 11:51:02 -08:00
proc_general_test.go proc: refactoring: split backends to separate packages 2017-04-21 14:00:04 -07:00
proc_test.go proc: support cgo stacktraces 2017-11-28 11:00:53 -08:00
proc_unix_test.go Fix various issues detected by megacheck (#880) 2017-06-29 11:15:59 -07:00
proc.go proc: support cgo stacktraces 2017-11-28 11:00:53 -08: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 proc: next should not skip lines with conditional bps 2017-11-20 11:25:35 -08:00
stack.go proc: support cgo stacktraces 2017-11-28 11:00:53 -08:00
threads.go proc: support cgo stacktraces 2017-11-28 11:00:53 -08:00
types.go pkg/proc, pkg/dwarf/op: support DW_OP_piece, DW_OP_regX, DW_OP_fbreg 2017-11-21 11:51:02 -08:00
variables.go proc: support cgo stacktraces 2017-11-28 11:00:53 -08:00