提交 d04c60e0 编写于 作者: A aarzilli 提交者: Derek Parker

proc/gdbserial: add syscall.Syscall* to list of blocking functions

Fixes #1227
上级 9464c237
......@@ -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
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册