PERFORCE change 57584 for review

David Xu davidxu at FreeBSD.org
Sat Jul 17 20:35:06 PDT 2004


http://perforce.freebsd.org/chv.cgi?CH=57584

Change 57584 by davidxu at davidxu_alona on 2004/07/18 03:34:42

	Remove unused function.

Affected files ...

.. //depot/projects/davidxu_ksedbg/src/lib/libthread_db/src/thread_db.c#4 edit

Differences ...

==== //depot/projects/davidxu_ksedbg/src/lib/libthread_db/src/thread_db.c#4 (text+ko) ====

@@ -329,22 +329,6 @@
 }
 
 td_err_e
-td_get_ta(int pid, td_thragent_t **ta_p)
-{
-	td_thragent_t *ta;
-	struct ps_prochandle *ph;
-
-	TAILQ_FOREACH(ta, &proclist, ta_next) {
-		td_ta_get_ph(ta, &ph);
-		if (ps_getpid(ph) == pid) {
-			*ta_p = ta;
-			return (TD_OK);
-		}
-	}
-	return (TD_ERR);
-}
-
-td_err_e
 td_ta_activated(td_thragent_t *ta, int *a)
 {
 	return ta->ta_ops->to_ta_activated(ta, a);


More information about the p4-projects mailing list