mirror of
https://github.com/go-delve/delve.git
synced 2025-11-01 12:01:35 +08:00
Fix docs
This commit is contained in:
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()
|
||||
|
||||
Reference in New Issue
Block a user