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 Redo previous. Print register as a...



details:   https://anonhg.NetBSD.org/src/rev/9b97db548d3b
branches:  trunk
changeset: 778420:9b97db548d3b
user:      nakayama <nakayama%NetBSD.org@localhost>
date:      Sun Mar 25 15:40:32 2012 +0000

description:
Redo previous.  Print register as a hexadecimal.

diffstat:

 sys/arch/sparc64/sparc64/trap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9f8e7f8180d6 -r 9b97db548d3b sys/arch/sparc64/sparc64/trap.c
--- a/sys/arch/sparc64/sparc64/trap.c   Sun Mar 25 13:44:04 2012 +0000
+++ b/sys/arch/sparc64/sparc64/trap.c   Sun Mar 25 15:40:32 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.173 2012/03/25 13:44:04 martin Exp $ */
+/*     $NetBSD: trap.c,v 1.174 2012/03/25 15:40:32 nakayama 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.173 2012/03/25 13:44:04 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.174 2012/03/25 15:40:32 nakayama Exp $");
 
 #include "opt_ddb.h"
 #include "opt_multiprocessor.h"
@@ -1158,7 +1158,7 @@
                                /* Disable traptrace for printf */
                                trap_trace_dis = 1;
                                (void) splhigh();
-                               printf("cpu%d: data fault: pc=%lx rpc=%"PRIu64" addr=%lx\n",
+                               printf("cpu%d: data fault: pc=%lx rpc=%"PRIx64" addr=%lx\n",
                                    cpu_number(), pc, tf->tf_in[7], addr);
                                DEBUGGER(type, tf);
                                panic("kernel fault");



Home | Main Index | Thread Index | Old Index