summaryrefslogtreecommitdiff
path: root/i386/i386/trap.c
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386/trap.c')
-rw-r--r--i386/i386/trap.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/i386/i386/trap.c b/i386/i386/trap.c
index d4bdc7f2..d3f61314 100644
--- a/i386/i386/trap.c
+++ b/i386/i386/trap.c
@@ -626,3 +626,13 @@ interrupted_pc(t)
return iss->eip;
}
#endif /* MACH_PCSAMPLE > 0 */
+
+#if MACH_KDB
+
+void
+db_debug_all_traps (boolean_t enable)
+{
+ debug_all_traps_with_kdb = enable;
+}
+
+#endif /* MACH_KDB */