summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/trap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/i386/i386/trap.c b/i386/i386/trap.c
index 6096a39..2924c42 100644
--- a/i386/i386/trap.c
+++ b/i386/i386/trap.c
@@ -524,8 +524,10 @@ printf("user trap %d error %d sub %08x\n", type, code, subcode);
break;
case T_PAGE_FAULT:
-#if 0
+#if 1
printf("user page fault at linear address %08x\n", subcode);
+ dump_ss (regs);
+
#endif
assert(subcode < LINEAR_MIN_KERNEL_ADDRESS);
subcode = regs->cr2;