diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2006-11-03 17:52:28 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2006-11-03 17:52:28 +0000 |
commit | 7bf603f47a27a8de5f7b6c045fa3fba86b3265ab (patch) | |
tree | 5fe2ca9ba656dd7058c219d287ac13fd77631c45 /sys/arch/sh | |
parent | 0558d47a4799bd4de19df98db36d37ba48c54cad (diff) |
Return address is way too useful to not print here.
Diffstat (limited to 'sys/arch/sh')
-rw-r--r-- | sys/arch/sh/sh/trap.c | 4 |
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 */ |