X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=gdb-common_windows.go;fp=gdb-common_windows.go;h=b2ceb73e5772e52a8ff9241d9f63a2d740c68a9a;hb=6255220f5dd115619990f698044ffae36c3dfcf6;hp=b233943cd286cad605743c941fb4c899db6ede7b;hpb=b91f9fa7fe99aa9b0eed5a847baa67f1c678208a;p=src%2Fxds%2Fxds-gdb.git diff --git a/gdb-common_windows.go b/gdb-common_windows.go index b233943..b2ceb73 100644 --- a/gdb-common_windows.go +++ b/gdb-common_windows.go @@ -1,7 +1,24 @@ package main -import "syscall" +import ( + "fmt" + "os" + "syscall" + + "github.com/Sirupsen/logrus" +) const ( syscallEBADE = syscall.EBADE ) + +func NewGdbNative(log *logrus.Logger, args []string, env []string) *GdbXds { + fmt.Printf("Native gdb debug mode not supported on Windows !") + os.Exit(int(syscall.ENOSYS)) + + return nil +} + +func isIgnoredSignal(sig os.Signal) bool { + return false +}