+2001-07-03 Michael Snyder <msnyder@redhat.com>
+
+ * thread_db (find_new_threads_callback, thread_db_thread_alive,
+ attach_thread): Update comments.
+
2001-06-29 Ken Whaley <ken@believe.com>
* thread-db.c (attach_thread): Check for TD_THR_ZOMBIE in addition
if (ti_p->ti_state == TD_THR_UNKNOWN ||
ti_p->ti_state == TD_THR_ZOMBIE)
- return;/* A zombie thread that's been joined -- do not attach. */
+ return;/* A zombie thread -- do not attach. */
/* Under Linux, we have to attach to each and every thread. */
#ifdef ATTACH_LWP
if (ti.ti_state == TD_THR_UNKNOWN ||
ti.ti_state == TD_THR_ZOMBIE)
- return 0; /* A zombie thread that's been joined. */
+ return 0; /* A zombie thread. */
return 1;
}
if (ti.ti_state == TD_THR_UNKNOWN ||
ti.ti_state == TD_THR_ZOMBIE)
- return 0; /* A zombie that's been reaped -- ignore. */
+ return 0; /* A zombie -- ignore. */
ptid = BUILD_THREAD (ti.ti_tid, GET_PID (inferior_ptid));