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 Add the trapframe pointer to the syscall ...
details: https://anonhg.NetBSD.org/src/rev/f7abfd28f840
branches: trunk
changeset: 762794:f7abfd28f840
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Feb 28 21:24:25 2011 +0000
description:
Add the trapframe pointer to the syscall information.
diffstat:
sys/arch/hppa/hppa/db_trace.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 3df4a9ceaf26 -r f7abfd28f840 sys/arch/hppa/hppa/db_trace.c
--- a/sys/arch/hppa/hppa/db_trace.c Mon Feb 28 21:23:33 2011 +0000
+++ b/sys/arch/hppa/hppa/db_trace.c Mon Feb 28 21:24:25 2011 +0000
@@ -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" :
Home |
Main Index |
Thread Index |
Old Index