summaryrefslogtreecommitdiff
path: root/libgo/go/cmd/go/signal_notunix.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/cmd/go/signal_notunix.go')
-rw-r--r--libgo/go/cmd/go/signal_notunix.go17
1 files changed, 17 insertions, 0 deletions
diff --git a/libgo/go/cmd/go/signal_notunix.go b/libgo/go/cmd/go/signal_notunix.go
new file mode 100644
index 0000000000..29aa9d8c20
--- /dev/null
+++ b/libgo/go/cmd/go/signal_notunix.go
@@ -0,0 +1,17 @@
+// Copyright 2012 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// +build plan9 windows
+
+package main
+
+import (
+ "os"
+)
+
+var signalsToIgnore = []os.Signal{os.Interrupt}
+
+// signalTrace is the signal to send to make a Go program
+// crash with a stack trace.
+var signalTrace os.Signal = nil