Fix docs
This commit is contained in:
parent
e22878211b
commit
ca7fd6dd06
2
main.go
2
main.go
@ -19,7 +19,7 @@ type term struct {
|
||||
func main() {
|
||||
// We must ensure here that we are running on the same thread during
|
||||
// the execution of dbg. This is due to the fact that ptrace(2) expects
|
||||
// all commands after PT_ATTACH to come from the same thread.
|
||||
// all commands after PTRACE_ATTACH to come from the same thread.
|
||||
runtime.LockOSThread()
|
||||
|
||||
t := newTerm()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user