summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/amd64/trap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/amd64/amd64/trap.c b/sys/arch/amd64/amd64/trap.c
index 4e3a2e06da8..ae0a48d6c2c 100644
--- a/sys/arch/amd64/amd64/trap.c
+++ b/sys/arch/amd64/amd64/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.20 2010/10/26 05:49:10 guenther Exp $ */
+/* $OpenBSD: trap.c,v 1.21 2010/11/01 15:37:03 phessler Exp $ */
/* $NetBSD: trap.c,v 1.2 2003/05/04 23:51:56 fvdl Exp $ */
/*-
@@ -209,8 +209,8 @@ trap(struct trapframe *frame)
type, frame->tf_err, (u_long)frame->tf_rip, frame->tf_cs,
frame->tf_rflags, rcr2(), curcpu()->ci_ilevel, frame->tf_rsp);
- /* panic("trap"); */
- boot(RB_HALT);
+ panic("trap type %d, code=%lx, pc=%lx",
+ type, frame->tf_err, frame->tf_rip);
/*NOTREACHED*/
case T_PROTFLT: