
Change the linux verison of proc/native and proc/gdbserial (with debugserver) so that they let the target process use the terminal when delve is launched in headless mode. Windows already worked, proc/gdbserial (with rr) already worked. I couldn't find a way to make proc/gdbserial (with lldb-server) work. No tests are added because I can't think of a way to test for foregroundness of a process. Fixes #65
12 lines
187 B
Go
12 lines
187 B
Go
package gdbserial
|
|
|
|
import "syscall"
|
|
|
|
func backgroundSysProcAttr() *syscall.SysProcAttr {
|
|
return nil
|
|
}
|
|
|
|
func moveToForeground(pid int) {
|
|
panic("lldb backend not supported on windows")
|
|
}
|