mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 17:56:45 +08:00
proc/gdbserial: add syscall.Syscall* to list of blocking functions
Fixes #1227
This commit is contained in:
@ -1229,6 +1229,8 @@ func (t *Thread) Blocked() bool {
|
|||||||
return true
|
return true
|
||||||
case "runtime.mach_semaphore_wait", "runtime.mach_semaphore_timedwait":
|
case "runtime.mach_semaphore_wait", "runtime.mach_semaphore_timedwait":
|
||||||
return true
|
return true
|
||||||
|
default:
|
||||||
|
return strings.HasPrefix(fn.Name, "syscall.Syscall") || strings.HasPrefix(fn.Name, "syscall.RawSyscall")
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user