Remove bogus fill_kinfo_proc() before ptrace_set_pc(). There was no need

for this.

Submitted by:	bde
This commit is contained in:
Peter Wemm 2002-09-07 22:18:19 +00:00
parent 99a17113cd
commit 1ed8cb4870

View File

@ -564,7 +564,6 @@ kern_ptrace(struct thread *td, int req, pid_t pid, void *addr, int data)
}
if (addr != (void *)1) {
fill_kinfo_proc(p, &p->p_uarea->u_kproc);
error = ptrace_set_pc(td2, (u_long)(uintfptr_t)addr);
if (error) {
_PRELE(p);