Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hppa/hppa SANITY output tweak.



details:   https://anonhg.NetBSD.org/src/rev/d6d25148fb98
branches:  trunk
changeset: 754291:d6d25148fb98
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Apr 26 15:22:38 2010 +0000

description:
SANITY output tweak.

diffstat:

 sys/arch/hppa/hppa/trap.c |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (32 lines):

diff -r 25325caab297 -r d6d25148fb98 sys/arch/hppa/hppa/trap.c
--- a/sys/arch/hppa/hppa/trap.c Mon Apr 26 15:07:01 2010 +0000
+++ b/sys/arch/hppa/hppa/trap.c Mon Apr 26 15:22:38 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.89 2010/04/26 12:16:21 skrll Exp $  */
+/*     $NetBSD: trap.c,v 1.90 2010/04/26 15:22:38 skrll Exp $  */
 
 /*-
  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.89 2010/04/26 12:16:21 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.90 2010/04/26 15:22:38 skrll Exp $");
 
 /* #define INTRDEBUG */
 /* #define TRAPDEBUG */
@@ -465,9 +465,10 @@
 #undef SANITY
 out:
        if (sanity_frame == tf) {
-               printf("insanity: '%s' in func %s at line %d type 0x%x tf %p "
-                   "lwp %p sp 0x%x pc 0x%x\n", sanity_string, func, line, type,
-                   sanity_frame, sanity_lwp, tf->tf_sp, tf->tf_iioq_head);
+               printf("insanity: '%s' at %s:%d type 0x%x tf %p lwp %p "
+                   "sp 0x%x pc 0x%x\n",
+                   sanity_string, func, line, type, sanity_frame, sanity_lwp,
+                   tf->tf_sp, tf->tf_iioq_head);
                (void) trap_kdebug(T_IBREAK, 0, tf);
                sanity_frame = NULL;
                sanity_lwp = NULL;



Home | Main Index | Thread Index | Old Index