delve/pkg/proc/amd64util
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
..
debugregs.go proc: fix bug with stack watchpoints going out of scope (#3742) 2024-06-12 12:37:04 -07:00
xsave_amd64.go proc: use CPUID to determine maximum size of XSAVE area (#2256) 2020-12-14 09:39:01 -08:00
xsave_amd64.s proc: use CPUID to determine maximum size of XSAVE area (#2256) 2020-12-14 09:39:01 -08:00
xsave_other.go all: remove obsolete build tags "// +build" (#3513) 2023-10-03 08:50:11 -07:00
xsave.go pkg,service: make receiver names consistent (#3473) 2023-08-17 14:24:43 -07:00