delve/pkg
Alessandro Arzilli c1366e90cc
proc: fix bug with range-over-func stepping (#3778)
Set a breakpoint on the return address of the current function, if it's
a range-over-func body, and clear the stepping breakpoints for the
current function (except the entry one) when its hit.

Without this what can happen is the following:

1. the range-over-func body finishes and returns to the iterator
2. the iterator calls back into the range-over-func body
3. a stepping breakpoint that's inside the prologue gets hit

Updates #3733
2024-07-14 21:27:47 -07:00
..
astutil pkg/astutil,pkg/elfwriter: fix package doc (#3753) 2024-06-20 21:48:33 +02:00
config go.mod: update gopkg.in/yaml to v3 (#3776) 2024-07-11 08:04:47 -07:00
dwarf pkg/dwarf/line: use t.Logf instead of fmt.Printf in tests (#3772) 2024-07-11 10:19:09 -07:00
elfwriter pkg/astutil,pkg/elfwriter: fix package doc (#3753) 2024-06-20 21:48:33 +02:00
gobuild all: replace deprecated io/ioutil with io and os (#3509) 2023-09-25 11:41:59 -07:00
goversion goversion: include pre-releases in VersionAfterOrEqual check (#3607) 2023-12-26 10:15:43 -08:00
internal/gosym *: remove redundant lines at the start/end of block (#3773) 2024-07-11 13:54:55 +02:00
locspec *: replace fmt.Errorf with errors.New (#3752) 2024-06-20 21:50:18 +02:00
logflags all: replace deprecated io/ioutil with io and os (#3509) 2023-09-25 11:41:59 -07:00
proc proc: fix bug with range-over-func stepping (#3778) 2024-07-14 21:27:47 -07:00
terminal pkg: refactor to buf.WriteString() (#3769) 2024-07-11 08:06:51 -07:00
version *: release version 1.22.1 (#3662) 2024-02-21 12:29:06 -08:00