PERFORCE change 57766 for review
David Xu
davidxu at FreeBSD.org
Mon Jul 19 23:59:49 PDT 2004
http://perforce.freebsd.org/chv.cgi?CH=57766
Change 57766 by davidxu at davidxu_celeron on 2004/07/20 06:59:46
Always set and unset TMDF_DONOTRUNUSER flag even if it is a system
scope thread, so you can retrieve suspension status from td_thr_getinfo.
Affected files ...
.. //depot/projects/davidxu_ksedbg/src/lib/libthread_db/pthread/pthread_db.c#12 edit
Differences ...
==== //depot/projects/davidxu_ksedbg/src/lib/libthread_db/pthread/pthread_db.c#12 (text+ko) ====
@@ -854,7 +854,8 @@
ret = ps_lstop(ta->ph, lwp);
else
ret = ps_lcontinue(ta->ph, lwp);
- return (P2T(ret));
+ if (ret)
+ return (P2T(ret));
}
ret = ps_pread(ta->ph,
More information about the p4-projects
mailing list