Change last argument of ktrsysret() call: pass rval[0], not rval, as

ktrsysret() expects.   Tracing of  rval[1] remains an open problem.
This commit is contained in:
jonathan 1996-02-06 00:13:04 +00:00
parent aa6f27003a
commit cb7e6f2e0f
3 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: trap.c,v 1.28 1996/02/04 20:14:17 jonathan Exp $ */
/* $NetBSD: trap.c,v 1.29 1996/02/06 00:13:04 jonathan Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -655,7 +655,7 @@ trap(statusReg, causeReg, vadr, pc, args)
#endif
#ifdef KTRACE
if (KTRPOINT(p, KTR_SYSRET))
ktrsysret(p->p_tracep, code, i, rval);
ktrsysret(p->p_tracep, code, i, rval[0]); /*XXX*/
#endif
goto out;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmax_trap.c,v 1.28 1996/02/04 20:14:17 jonathan Exp $ */
/* $NetBSD: pmax_trap.c,v 1.29 1996/02/06 00:13:04 jonathan Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -655,7 +655,7 @@ trap(statusReg, causeReg, vadr, pc, args)
#endif
#ifdef KTRACE
if (KTRPOINT(p, KTR_SYSRET))
ktrsysret(p->p_tracep, code, i, rval);
ktrsysret(p->p_tracep, code, i, rval[0]); /*XXX*/
#endif
goto out;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: trap.c,v 1.28 1996/02/04 20:14:17 jonathan Exp $ */
/* $NetBSD: trap.c,v 1.29 1996/02/06 00:13:04 jonathan Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -655,7 +655,7 @@ trap(statusReg, causeReg, vadr, pc, args)
#endif
#ifdef KTRACE
if (KTRPOINT(p, KTR_SYSRET))
ktrsysret(p->p_tracep, code, i, rval);
ktrsysret(p->p_tracep, code, i, rval[0]); /*XXX*/
#endif
goto out;
}