Date: Sun, 18 Jul 2004 03:35:05 GMT From: David Xu <davidxu@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 57584 for review Message-ID: <200407180335.i6I3Z5Tu072284@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=57584 Change 57584 by davidxu@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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407180335.i6I3Z5Tu072284>