diff options
Diffstat (limited to 'i386/util/trap_dump_die.c')
-rw-r--r-- | i386/util/trap_dump_die.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/i386/util/trap_dump_die.c b/i386/util/trap_dump_die.c new file mode 100644 index 0000000..0407657 --- /dev/null +++ b/i386/util/trap_dump_die.c @@ -0,0 +1,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"); +} + |