1 2 3 4 5 6 7 8 9 10 11 12
#include "trap.h" void trap_dump_die(struct trap_state *st) { about_to_die(1); trap_dump(st); die("terminated due to trap\n"); }