diff options
| author | David Xu <davidxu@FreeBSD.org> | 2006-02-07 02:51:25 +0000 |
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2006-02-07 02:51:25 +0000 |
| commit | 6ff81bf532c1d1b5b89baa27700317f90130120f (patch) | |
| tree | 2ed99a0f82ceb7deefdc0f4cae5bcbcda09ca3c8 /lib/libthread_db | |
| parent | d56a014b6e3794e617dc3f2405227fe4727afb9f (diff) | |
Notes
Diffstat (limited to 'lib/libthread_db')
| -rw-r--r-- | lib/libthread_db/libpthread_db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthread_db/libpthread_db.c b/lib/libthread_db/libpthread_db.c index 503d81d09a68..5609f4483b1e 100644 --- a/lib/libthread_db/libpthread_db.c +++ b/lib/libthread_db/libpthread_db.c @@ -528,7 +528,7 @@ pt_dbsuspend(const td_thrhandle_t *th, int suspend) } else { struct ptrace_lwpinfo pl; - if (ptrace(PT_LWPINFO, lwp, (caddr_t) &pl, sizeof(pl))) + if (ps_linfo(ta->ph, lwp, (caddr_t)&pl)) return (TD_ERR); if (suspend) { if (!(pl.pl_flags & PL_FLAG_BOUND)) |
