Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jul 2004 06:59:48 GMT
From:      David Xu <davidxu@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 57766 for review
Message-ID:  <200407200659.i6K6xmj5083295@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=57766

Change 57766 by davidxu@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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407200659.i6K6xmj5083295>