MFC: Hold the proc lock while calling proc_sstep().

Approved by:	re (scottl)
This commit is contained in:
jhb 2006-03-01 20:52:10 +00:00
parent dbe3338f30
commit 1729bc3f72

View File

@ -245,9 +245,8 @@ out:
* What does it mean to single step a threaded program?
*/
case PROCFS_CTL_STEP:
PROC_UNLOCK(p);
error = proc_sstep(FIRST_THREAD_IN_PROC(p)); /* XXXKSE */
PRELE(p);
PROC_UNLOCK(p);
if (error)
return (error);
break;