delve/pkg
Alessandro Arzilli 06053a7e4b
proc: fix bug with stack watchpoints going out of scope (#3742)
When stack watchpoints go out of scope simultaneously they can hide (or
duplicate the effect) of other breakpoints (including other watchpoints
going out of scope) that are placed on the same physical memory
location.

This happens because we delete the watchpoint-out-of-scope breakpoint
while we are evaluating hit breakpoints, mangling the breaklets list.

This commit moves breakpoint deletion out of the
watchpoint-out-of-scope condition, delaying it until all hit
breakpoints have been evaluated.

Also fix bug where on amd64 if all four watchpoints are in use the last
one is not checked.

Fixes #3739
2024-06-12 12:37:04 -07:00
..
astutil proc: when stepping set condition on thread ID if there is no curg (#3475) 2023-08-21 12:30:56 -07:00
config terminal: add prompt color option (#3648) 2024-02-07 11:07:11 -08:00
dwarf *: remove redundant lines at the start/end of block (#3730) 2024-05-20 14:16:22 -07:00
elfwriter elfwriter: add WriteSectionHeaders (#3666) 2024-02-23 14:14:28 -08: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 pkg/proc: use gore to obtain info from stripped binaries (#3577) 2023-11-23 09:12:10 +01:00
locspec pkg/terminal: allow postfix if for breakpoint conds (#3693) 2024-04-09 15:15:38 +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 stack watchpoints going out of scope (#3742) 2024-06-12 12:37:04 -07:00
terminal pkg/terminal,service/debugger: Support to add a new suboption --follow-calls to trace subcommand (#3594) 2024-06-12 12:35:48 -07:00
version *: release version 1.22.1 (#3662) 2024-02-21 12:29:06 -08:00