summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2006-11-03 17:52:27 +0000
committerdrahn <drahn@openbsd.org>2006-11-03 17:52:27 +0000
commit98e7be1c73d497f3b3f33f3cb942b81cc25bff83 (patch)
treef8938ffd6e2482cf7c6e2482f0fa68c2063f3091
parentFor now use 3 pages like netbsd, allows the kernel to get _MUCH_ farther. (diff)
downloadwireguard-openbsd-98e7be1c73d497f3b3f33f3cb942b81cc25bff83.tar.xz
wireguard-openbsd-98e7be1c73d497f3b3f33f3cb942b81cc25bff83.zip
Return address is way too useful to not print here.
-rw-r--r--sys/arch/sh/sh/trap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sh/sh/trap.c b/sys/arch/sh/sh/trap.c
index 33471bca27d..13ea3a89c40 100644
--- a/sys/arch/sh/sh/trap.c
+++ b/sys/arch/sh/sh/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.4 2006/11/03 02:52:02 mickey Exp $ */
+/* $OpenBSD: trap.c,v 1.5 2006/11/03 17:52:27 drahn Exp $ */
/* $NetBSD: exception.c,v 1.32 2006/09/04 23:57:52 uwe Exp $ */
/* $NetBSD: syscall.c,v 1.6 2006/03/07 07:21:50 thorpej Exp $ */
@@ -240,7 +240,7 @@ do_panic:
else
printf("EXPEVT 0x%03x", expevt);
printf(" in %s mode\n", expevt & EXP_USER ? "user" : "kernel");
- printf(" spc %x ssr %x \n", tf->tf_spc, tf->tf_ssr);
+ printf(" spc %x ssr %x pr %x \n", tf->tf_spc, tf->tf_ssr, tf->tf_pr);
panic("general_exception");
/* NOTREACHED */