Deliver SIGTRAP, rather than SIGEMT, for trap instructions which are neither
authormiod <miod@openbsd.org>
Wed, 16 Oct 2024 18:40:52 +0000 (18:40 +0000)
committermiod <miod@openbsd.org>
Wed, 16 Oct 2024 18:40:52 +0000 (18:40 +0000)
commit60ddae46be979fe90143673229697773f6d4a7b9
tree42ee316122e2185b3b32f647c06af21bc8cf8941
parent21537d4178ddf6fffc9aabdb8b5bdd85724ec552
Deliver SIGTRAP, rather than SIGEMT, for trap instructions which are neither
debugger breakpoints nor compiler-generated divide by zero reports.

SIGEMT is a historical curiosity which makes no sense nowadays except on
PDP-11 and VAX hardware.

Discussed with imp@ and visa@ long ago.
sys/arch/mips64/mips64/trap.c