summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2024-10-16 18:43:43 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2024-10-16 18:43:43 +0000
commitf79ed711b86f19fd16c7cbd5fb905c21f9907c17 (patch)
treec38362c016bc5026851d01dd4ca083ece6ef4461 /sys/arch
parenteb4ff6a9370d3f7782754a6880b869535cad787c (diff)
Deliver SIGTRAP, rather than SIGEMT, when a TADDccTV or TSUBccTV instruction
traps. Such instructions are deprecated in v9 (64-bit) code and should never occur in real-life code. See v9 manual A.59 and A.60 for details. CVS ----------------------------------------------------------------------
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/sparc64/trap.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/arch/sparc64/sparc64/trap.c b/sys/arch/sparc64/sparc64/trap.c
index 985490582e8..091a8e3e16c 100644
--- a/sys/arch/sparc64/sparc64/trap.c
+++ b/sys/arch/sparc64/sparc64/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.125 2024/03/29 21:19:30 miod Exp $ */
+/* $OpenBSD: trap.c,v 1.126 2024/10/16 18:43:42 miod Exp $ */
/* $NetBSD: trap.c,v 1.73 2001/08/09 01:03:01 eeh Exp $ */
/*
@@ -584,9 +584,6 @@ dopanic:
}
case T_TAGOF:
- trapsignal(p, SIGEMT, 0, EMT_TAGOVF, sv); /* XXX code? */
- break;
-
case T_BREAKPOINT:
trapsignal(p, SIGTRAP, 0, TRAP_BRKPT, sv);
break;