Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/sparc don't try to print fr_arg[6] since it d...
details: https://anonhg.NetBSD.org/src/rev/6a348092f56c
branches: trunk
changeset: 766797:6a348092f56c
user: mrg <mrg%NetBSD.org@localhost>
date: Sat Jul 02 13:10:53 2011 +0000
description:
don't try to print fr_arg[6] since it doesn't exist.
diffstat:
sys/arch/sparc/sparc/machdep.c | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diffs (43 lines):
diff -r 02f3332cb38d -r 6a348092f56c sys/arch/sparc/sparc/machdep.c
--- a/sys/arch/sparc/sparc/machdep.c Sat Jul 02 13:09:31 2011 +0000
+++ b/sys/arch/sparc/sparc/machdep.c Sat Jul 02 13:10:53 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.311 2011/06/12 03:35:46 rmind Exp $ */
+/* $NetBSD: machdep.c,v 1.312 2011/07/02 13:10:53 mrg Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.311 2011/06/12 03:35:46 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.312 2011/07/02 13:10:53 mrg Exp $");
#include "opt_compat_netbsd.h"
#include "opt_compat_sunos.h"
@@ -1105,10 +1105,9 @@
printf("Frame pointer is at %p\n", fp);
printf("Call traceback:\n");
while (fp && ((u_long)fp >> PGSHIFT) == ((u_long)sfp >> PGSHIFT)) {
- printf(" pc = 0x%x args = (0x%x, 0x%x, 0x%x, 0x%x, 0x%x, 0x%x, 0x%x) fp = %p\n",
+ printf(" pc = 0x%x args = (0x%x, 0x%x, 0x%x, 0x%x, 0x%x, 0x%x) fp = %p\n",
fp->fr_pc, fp->fr_arg[0], fp->fr_arg[1], fp->fr_arg[2],
- fp->fr_arg[3], fp->fr_arg[4], fp->fr_arg[5], fp->fr_arg[6],
- fp->fr_fp);
+ fp->fr_arg[3], fp->fr_arg[4], fp->fr_arg[5], fp->fr_fp);
fp = fp->fr_fp;
}
}
@@ -1144,9 +1143,9 @@
printf("stop at 0x%lx\n", stop);
fp = (struct frame *) va;
while (round_up((u_long) fp) == stop) {
- printf(" 0x%x(0x%x, 0x%x, 0x%x, 0x%x, 0x%x, 0x%x, 0x%x) fp %p\n", fp->fr_pc,
+ printf(" 0x%x(0x%x, 0x%x, 0x%x, 0x%x, 0x%x, 0x%x) fp %p\n", fp->fr_pc,
fp->fr_arg[0], fp->fr_arg[1], fp->fr_arg[2], fp->fr_arg[3],
- fp->fr_arg[4], fp->fr_arg[5], fp->fr_arg[6], fp->fr_fp);
+ fp->fr_arg[4], fp->fr_arg[5], fp->fr_fp);
fp = fp->fr_fp;
if (fp == NULL)
break;
Home |
Main Index |
Thread Index |
Old Index