Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/sparc64 print %i7 for data faults
details: https://anonhg.NetBSD.org/src/rev/0fa4d09aae04
branches: trunk
changeset: 778403:0fa4d09aae04
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Mar 25 01:41:03 2012 +0000
description:
print %i7 for data faults
diffstat:
sys/arch/sparc64/sparc64/trap.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r cbd7d56f60d5 -r 0fa4d09aae04 sys/arch/sparc64/sparc64/trap.c
--- a/sys/arch/sparc64/sparc64/trap.c Sun Mar 25 00:16:30 2012 +0000
+++ b/sys/arch/sparc64/sparc64/trap.c Sun Mar 25 01:41:03 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.171 2012/03/17 23:47:13 mrg Exp $ */
+/* $NetBSD: trap.c,v 1.172 2012/03/25 01:41:03 mrg Exp $ */
/*
* Copyright (c) 1996-2002 Eduardo Horvath. All rights reserved.
@@ -50,7 +50,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.171 2012/03/17 23:47:13 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.172 2012/03/25 01:41:03 mrg Exp $");
#include "opt_ddb.h"
#include "opt_multiprocessor.h"
@@ -1158,8 +1158,8 @@
/* Disable traptrace for printf */
trap_trace_dis = 1;
(void) splhigh();
- printf("cpu%d: data fault: pc=%lx addr=%lx\n",
- cpu_number(), pc, addr);
+ printf("cpu%d: data fault: pc=%lx rpc=%lx addr=%lx\n",
+ cpu_number(), pc, tf->tf_in[7], addr);
DEBUGGER(type, tf);
panic("kernel fault");
/* NOTREACHED */
Home |
Main Index |
Thread Index |
Old Index