Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/vax/vax Make this compile with TRAPDEBUG enabled.
details: https://anonhg.NetBSD.org/src/rev/ac616b40e7dc
branches: trunk
changeset: 784029:ac616b40e7dc
user: martin <martin%NetBSD.org@localhost>
date: Tue Jan 15 10:18:38 2013 +0000
description:
Make this compile with TRAPDEBUG enabled.
Pointed out by Holm Tiffe.
diffstat:
sys/arch/vax/vax/syscall.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r ae022fcd171e -r ac616b40e7dc sys/arch/vax/vax/syscall.c
--- a/sys/arch/vax/vax/syscall.c Tue Jan 15 08:52:27 2013 +0000
+++ b/sys/arch/vax/vax/syscall.c Tue Jan 15 10:18:38 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: syscall.c,v 1.21 2012/02/19 21:06:33 rmind Exp $ */
+/* $NetBSD: syscall.c,v 1.22 2013/01/15 10:18:38 martin Exp $ */
/*
* Copyright (c) 1994 Ludd, University of Lule}, Sweden.
@@ -33,7 +33,7 @@
/* All bugs are subject to removal without further notice */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.21 2012/02/19 21:06:33 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.22 2013/01/15 10:18:38 martin Exp $");
#include "opt_multiprocessor.h"
@@ -77,7 +77,7 @@
TDB(("trap syscall %s pc %lx, psl %lx, sp %lx, pid %d, frame %p\n",
syscallnames[tf->tf_code], tf->tf_pc, tf->tf_psl,tf->tf_sp,
- p->p_pid,frame));
+ p->p_pid,tf));
curcpu()->ci_data.cpu_nsyscall++;
@@ -111,7 +111,7 @@
TDB(("return %s pc %lx, psl %lx, sp %lx, pid %d, err %d r0 %d, r1 %d, "
"tf %p\n", syscallnames[tf->tf_code], tf->tf_pc, tf->tf_psl,
- tf->tf_sp, p->p_pid, error, rval[0], rval[1], exptr));
+ tf->tf_sp, p->p_pid, error, rval[0], rval[1], tf));
bad:
switch (error) {
case 0:
Home |
Main Index |
Thread Index |
Old Index