From 1ed8cb4870638d11955c201f052967dc8f7ff8b7 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sat, 7 Sep 2002 22:18:19 +0000 Subject: [PATCH] Remove bogus fill_kinfo_proc() before ptrace_set_pc(). There was no need for this. Submitted by: bde --- sys/kern/sys_process.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c index 106731408ce..b604c418c66 100644 --- a/sys/kern/sys_process.c +++ b/sys/kern/sys_process.c @@ -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); -- 2.45.2