aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2011-12-21 15:45:36 -0800
committerIan Lance Taylor <iant@golang.org>2011-12-21 15:45:36 -0800
commit5690ddc7fa033e10961c728ddd6bccf4903707d4 (patch)
tree3ee3fb54ca982e37e68faabd5eda65c096eee751
parent1cf45e388d723d02b073a5ea7d27abf8b45f02a1 (diff)
downloadgo-5690ddc7fa033e10961c728ddd6bccf4903707d4.tar.gz
go-5690ddc7fa033e10961c728ddd6bccf4903707d4.zip
runtime: don't panic on SIGILL, just crash
R=rsc CC=golang-dev https://golang.org/cl/5504067
-rw-r--r--src/pkg/runtime/signals_linux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/signals_linux.h b/src/pkg/runtime/signals_linux.h
index 919b80ea29..1fc5f8c87c 100644
--- a/src/pkg/runtime/signals_linux.h
+++ b/src/pkg/runtime/signals_linux.h
@@ -13,7 +13,7 @@ SigTab runtimeĀ·sigtab[] = {
/* 1 */ Q+R, "SIGHUP: terminal line hangup",
/* 2 */ Q+R, "SIGINT: interrupt",
/* 3 */ C, "SIGQUIT: quit",
- /* 4 */ C+P, "SIGILL: illegal instruction",
+ /* 4 */ C, "SIGILL: illegal instruction",
/* 5 */ C, "SIGTRAP: trace trap",
/* 6 */ C, "SIGABRT: abort",
/* 7 */ C+P, "SIGBUS: bus error",