From 01a744c41e739b20a0795ba2be752b5e74e19d35 Mon Sep 17 00:00:00 2001 From: skrll Date: Mon, 28 Feb 2011 21:24:25 +0000 Subject: [PATCH] Add the trapframe pointer to the syscall information. --- sys/arch/hppa/hppa/db_trace.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/arch/hppa/hppa/db_trace.c b/sys/arch/hppa/hppa/db_trace.c index 4b1f2d15d5ab..ba2ac2a52ee2 100644 --- a/sys/arch/hppa/hppa/db_trace.c +++ b/sys/arch/hppa/hppa/db_trace.c @@ -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 -__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 #include @@ -153,9 +153,9 @@ db_stack_trace_print(db_expr_t addr, bool have_addr, db_expr_t count, 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" :