diff options
author | peter <peter@FreeBSD.org> | 2002-09-07 22:18:19 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-09-07 22:18:19 +0000 |
commit | 640af1c480488f92d6952a7db1bdd20d34d23cca (patch) | |
tree | e5c7793cdb10205be7093820744d69e2c6fc43a6 /sys/kern | |
parent | 267650898e90cfd66dc11772d1189dd08dd6e983 (diff) | |
download | FreeBSD-src-640af1c480488f92d6952a7db1bdd20d34d23cca.zip FreeBSD-src-640af1c480488f92d6952a7db1bdd20d34d23cca.tar.gz |
Remove bogus fill_kinfo_proc() before ptrace_set_pc(). There was no need
for this.
Submitted by: bde
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/sys_process.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c index 1067314..b604c41 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); |