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.
-/* $OpenBSD: trap.c,v 1.172 2024/09/20 02:00:46 jsg Exp $ */
+/* $OpenBSD: trap.c,v 1.173 2024/10/16 18:40:52 miod Exp $ */
/*
* Copyright (c) 1988 University of Utah.
sigexit(p, SIGABRT);
/* NOTREACHED */
} else {
- signal = SIGEMT; /* Stuff it with something for now */
- sicode = 0;
+ signal = SIGTRAP;
+ sicode = TRAP_BRKPT;
}
break;
}