mirror of
https://github.com/go-delve/delve.git
synced 2025-10-28 20:53:42 +08:00
proc: fix TestRangeOverFuncNext (#3740)
Fix TestRangeOverFuncNext on non-linux operating systems, on arm64 and when the build mode is PIE.
This commit is contained in:
committed by
GitHub
parent
06053a7e4b
commit
cce54c0992
@ -911,7 +911,7 @@ func rangeFuncStackTrace(tgt *Target, g *G) ([]Stackframe, error) {
|
||||
|
||||
if len(frames) > 0 {
|
||||
prev := &frames[len(frames)-1]
|
||||
if fr.Regs.SP() <= prev.Regs.SP() {
|
||||
if fr.Regs.SP() < prev.Regs.SP() {
|
||||
nonMonotonicSP = true
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user