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:
parent
aa6f27003a
commit
cb7e6f2e0f
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user