Fixed windows build.
[src/xds/xds-gdb.git] / gdb-common_windows.go
1 package main
2
3 import (
4         "fmt"
5         "os"
6         "syscall"
7
8         "github.com/Sirupsen/logrus"
9 )
10
11 const (
12         syscallEBADE = syscall.EBADE
13 )
14
15 func NewGdbNative(log *logrus.Logger, args []string, env []string) *GdbXds {
16         fmt.Printf("Native gdb debug mode not supported on Windows !")
17         os.Exit(int(syscall.ENOSYS))
18
19         return nil
20 }
21
22 func isIgnoredSignal(sig os.Signal) bool {
23         return false
24 }