- Fix two calls to trapsignal() that were still passing in 'struct proc'.

These were missed in my last commit.
This commit is contained in:
jeff 2003-03-31 22:41:32 +00:00
parent aaa09e0147
commit 37639846db
2 changed files with 4 additions and 4 deletions

View File

@ -645,7 +645,7 @@ trap(frame)
if (*p->p_sysent->sv_transtrap)
i = (*p->p_sysent->sv_transtrap)(i, type);
trapsignal(p, i, ucode);
trapsignal(td, i, ucode);
#ifdef DEBUG
if (type <= MAX_TRAP_MSG) {
@ -1071,7 +1071,7 @@ syscall(frame)
*/
if ((orig_tf_eflags & PSL_T) && !(orig_tf_eflags & PSL_VM)) {
frame.tf_eflags &= ~PSL_T;
trapsignal(p, SIGTRAP, 0);
trapsignal(td, SIGTRAP, 0);
}
/*

View File

@ -645,7 +645,7 @@ trap(frame)
if (*p->p_sysent->sv_transtrap)
i = (*p->p_sysent->sv_transtrap)(i, type);
trapsignal(p, i, ucode);
trapsignal(td, i, ucode);
#ifdef DEBUG
if (type <= MAX_TRAP_MSG) {
@ -1071,7 +1071,7 @@ syscall(frame)
*/
if ((orig_tf_eflags & PSL_T) && !(orig_tf_eflags & PSL_VM)) {
frame.tf_eflags &= ~PSL_T;
trapsignal(p, SIGTRAP, 0);
trapsignal(td, SIGTRAP, 0);
}
/*