1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103085

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);