HelenOS sources

PANIC_BADTRAP      50 kernel/generic/include/panic.h 	panic_common(PANIC_BADTRAP, istate, 0, n, fmt, ##__VA_ARGS__)
PANIC_BADTRAP      63 kernel/generic/src/debug/panic.c 	} else if (cat == PANIC_BADTRAP) {
HelenOS homepage, sources at GitHub