mirror of
https://github.com/go-delve/delve.git
synced 2025-11-02 04:36:29 +08:00
Fix docs
This commit is contained in:
2
main.go
2
main.go
@ -19,7 +19,7 @@ type term struct {
|
|||||||
func main() {
|
func main() {
|
||||||
// We must ensure here that we are running on the same thread during
|
// 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
|
// 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()
|
runtime.LockOSThread()
|
||||||
|
|
||||||
t := newTerm()
|
t := newTerm()
|
||||||
|
|||||||
Reference in New Issue
Block a user