summaryrefslogtreecommitdiff
path: root/i386/util/trap_dump_die.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1997-02-25 21:28:37 +0000
committerThomas Bushnell <thomas@gnu.org>1997-02-25 21:28:37 +0000
commitf07a4c844da9f0ecae5bbee1ab94be56505f26f7 (patch)
tree12b07c7e578fc1a5f53dbfde2632408491ff2a70 /i386/util/trap_dump_die.c
Initial source
Diffstat (limited to 'i386/util/trap_dump_die.c')
-rw-r--r--i386/util/trap_dump_die.c12
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");
+}
+