aboutsummaryrefslogtreecommitdiffstats
path: root/gdb-common_windows.go
blob: b2ceb73e5772e52a8ff9241d9f63a2d740c68a9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package main

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
}