mirror of
https://github.com/go-delve/delve.git
synced 2025-10-31 02:36:18 +08:00
proc: Implement target.Interface for gdbserver backend
This commit is contained in:
9
pkg/proc/gdbserver_unix.go
Normal file
9
pkg/proc/gdbserver_unix.go
Normal file
@ -0,0 +1,9 @@
|
||||
// +build linux darwin
|
||||
|
||||
package proc
|
||||
|
||||
import "syscall"
|
||||
|
||||
func backgroundSysProcAttr() *syscall.SysProcAttr {
|
||||
return &syscall.SysProcAttr{Setpgid: true, Pgid: 0, Foreground: false}
|
||||
}
|
||||
Reference in New Issue
Block a user