Module Name: src Committed By: skrll Date: Mon Feb 28 21:24:25 UTC 2011
Modified Files: src/sys/arch/hppa/hppa: db_trace.c Log Message: Add the trapframe pointer to the syscall information. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/hppa/hppa/db_trace.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/hppa/hppa/db_trace.c diff -u src/sys/arch/hppa/hppa/db_trace.c:1.9 src/sys/arch/hppa/hppa/db_trace.c:1.10 --- src/sys/arch/hppa/hppa/db_trace.c:1.9 Thu Jul 1 02:38:27 2010 +++ src/sys/arch/hppa/hppa/db_trace.c Mon Feb 28 21:24:25 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: db_trace.c,v 1.9 2010/07/01 02:38:27 rmind Exp $ */ +/* $NetBSD: db_trace.c,v 1.10 2011/02/28 21:24:25 skrll Exp $ */ /* $OpenBSD: db_interface.c,v 1.16 2001/03/22 23:31:45 mickey Exp $ */ @@ -29,7 +29,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: db_trace.c,v 1.9 2010/07/01 02:38:27 rmind Exp $"); +__KERNEL_RCSID(0, "$NetBSD: db_trace.c,v 1.10 2011/02/28 21:24:25 skrll Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -153,9 +153,9 @@ tf = (struct trapframe *)((char *)scargs - sizeof(*tf)); if (tf->tf_flags & TFF_SYS) - pr("-- syscall #%d(%x, %x, %x, %x, ...)\n", + pr("-- syscall #%d(%x, %x, %x, %x, ...) (%p)\n", tf->tf_t1, scargs[1], scargs[2], - scargs[3], scargs[4]); + scargs[3], scargs[4], tf); else pr("-- trap #%d (%p) %s\n", tf->tf_flags & 0x3f, tf, (tf->tf_flags & T_USER)? " from user" :