delve/pkg/proc
aarzilli 5155ef047f proc,dwarf/line: support is_stmt and prologue_end flags
Go1.11 uses the is_stmt flag of .debug_line to communicate which
assembly instructions are good places for breakpoints, we should
respect this flag.

These changes were introduced by:
* https://go-review.googlesource.com/c/go/+/102435/

Additionally when setting next breakpoints ignore all PC addresses that
belong to the same line as the one currently under at the cursor. This
matches the behavior of gdb and avoids stopping multiple times at the
heading line of a for statement with go1.11.

Change: https://go-review.googlesource.com/c/go/+/110416 adds the
prologue_end flag to the .debug_line section to communicate the end of
the stack-split prologue. We should use it instead of pattern matching
the disassembly when available.

Fixes #550

type of interfaces
'c7cde8b'.
2018-06-11 11:09:02 -07:00
..
core proc: handle new way of panic'ing in 1.11 2018-06-11 11:09:02 -07:00
gdbserial proc,dwarf/line: support is_stmt and prologue_end flags 2018-06-11 11:09:02 -07:00
native proc: handle new way of panic'ing in 1.11 2018-06-11 11:09:02 -07:00
test tests: call RunTestsWithFixtures everywhere we use BuildFixture 2018-06-08 11:39:47 -07:00
arch.go proc: handle new way of panic'ing in 1.11 2018-06-11 11:09:02 -07:00
bininfo.go proc: add support for dwz compressed DWARF 2018-05-23 13:59:45 -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,dwarf/line: support is_stmt and prologue_end flags 2018-06-11 11:09:02 -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 proc: support inlining 2018-03-26 14:30:38 -04:00
eval.go pkg/proc: respect specified load configuration after reslicing a map 2018-06-08 13:20:54 -07:00
interface.go proc: remove proc.Process.Halt 2018-03-06 09:06:19 -08:00
mem.go proc: change memCache to delay reading 2018-04-23 10:13:21 -07:00
moduledata.go pkg/proc: fix errors found by vet 2018-04-19 13:29:13 -07:00
proc_general_test.go proc: change memCache to delay reading 2018-04-23 10:13:21 -07:00
proc_test.go proc,dwarf/line: support is_stmt and prologue_end flags 2018-06-11 11:09:02 -07:00
proc_unix_test.go proc: remove proc.Process.Kill 2018-03-06 09:06:19 -08:00
proc.go proc,dwarf/line: support is_stmt and prologue_end flags 2018-06-11 11:09:02 -07: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: support inlining 2018-03-26 14:30:38 -04:00
stack.go proc: handle new way of panic'ing in 1.11 2018-06-11 11:09:02 -07:00
threads.go proc,dwarf/line: support is_stmt and prologue_end flags 2018-06-11 11:09:02 -07:00
types.go proc,dwarf/line: support is_stmt and prologue_end flags 2018-06-11 11:09:02 -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: do not assume g.gopc is valid 2018-05-09 12:33:41 -07:00