Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/powerpc Print DAR and DSISR on user ALIgnme...
details: https://anonhg.NetBSD.org/src/rev/3725587b3b27
branches: trunk
changeset: 535252:3725587b3b27
user: matt <matt%NetBSD.org@localhost>
date: Mon Aug 12 22:44:03 2002 +0000
description:
Print DAR and DSISR on user ALIgnment traps (e.g. treat them as being
similar to DSI tracks).
diffstat:
sys/arch/powerpc/powerpc/trap.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (24 lines):
diff -r 1e5bffa1192e -r 3725587b3b27 sys/arch/powerpc/powerpc/trap.c
--- a/sys/arch/powerpc/powerpc/trap.c Mon Aug 12 22:26:41 2002 +0000
+++ b/sys/arch/powerpc/powerpc/trap.c Mon Aug 12 22:44:03 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.67 2002/08/02 03:46:45 chs Exp $ */
+/* $NetBSD: trap.c,v 1.68 2002/08/12 22:44:03 matt Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -253,10 +253,10 @@
if (fix_unaligned(p, frame) != 0) {
ci->ci_ev_ali_fatal.ev_count++;
if (cpu_printfataltraps) {
- printf("trap: pid %d (%s): user ALI trap @ %#x "
- "(SSR1=%#x)\n",
- p->p_pid, p->p_comm, frame->srr0,
- frame->srr1);
+ printf("trap: pid %d (%s): user ALI @ %#x "
+ "by %#x (DSISR %#x)\n",
+ p->p_pid, p->p_comm,
+ frame->dar, frame->srr0, frame->dsisr);
}
trapsignal(p, SIGBUS, EXC_ALI);
} else
Home |
Main Index |
Thread Index |
Old Index