mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 01:27:16 +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
|
||||
case "runtime.mach_semaphore_wait", "runtime.mach_semaphore_timedwait":
|
||||
return true
|
||||
default:
|
||||
return strings.HasPrefix(fn.Name, "syscall.Syscall") || strings.HasPrefix(fn.Name, "syscall.RawSyscall")
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user