Module Name: src Committed By: matt Date: Fri Jan 8 22:15:13 UTC 2010
Modified Files: src/sys/arch/mips/mips [matt-nb5-mips64]: trap.c Log Message: In stacktrace_subr, use proper formats. To generate a diff of this commit: cvs rdiff -u -r1.217.12.12 -r1.217.12.13 src/sys/arch/mips/mips/trap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/mips/mips/trap.c diff -u src/sys/arch/mips/mips/trap.c:1.217.12.12 src/sys/arch/mips/mips/trap.c:1.217.12.13 --- src/sys/arch/mips/mips/trap.c:1.217.12.12 Wed Dec 30 04:51:26 2009 +++ src/sys/arch/mips/mips/trap.c Fri Jan 8 22:15:13 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: trap.c,v 1.217.12.12 2009/12/30 04:51:26 matt Exp $ */ +/* $NetBSD: trap.c,v 1.217.12.13 2010/01/08 22:15:13 matt Exp $ */ /* * Copyright (c) 1992, 1993 @@ -78,7 +78,7 @@ #include <sys/cdefs.h> /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.217.12.12 2009/12/30 04:51:26 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.217.12.13 2010/01/08 22:15:13 matt Exp $"); #include "opt_cputype.h" /* which mips CPU levels do we support? */ #include "opt_ddb.h" @@ -956,7 +956,7 @@ } } done: - (*printfn)("%s+%x (%x,%x,%x,%x) ra %x sz %d\n", + (*printfn)("%s+%"PRIxVADDR" (%"PRIxREGISTER",%"PRIxREGISTER",%"PRIxREGISTER",%"PRIxREGISTER") ra %"PRIxVADDR" sz %d\n", fn_name(subr), pc - subr, a0, a1, a2, a3, ra, stksize); if (ra) {