From 5d12882f43afa6f9d83b80d27e29ac02bdd803d2 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Tue, 3 Jul 2001 21:04:49 +0000 Subject: [PATCH] 2001-07-03 Michael Snyder * thread_db (find_new_threads_callback, thread_db_thread_alive, attach_thread): Update comments. --- gdb/ChangeLog | 5 +++++ gdb/thread-db.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bb17a7ce17c..1626a6c1f9e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-07-03 Michael Snyder + + * thread_db (find_new_threads_callback, thread_db_thread_alive, + attach_thread): Update comments. + 2001-06-29 Ken Whaley * thread-db.c (attach_thread): Check for TD_THR_ZOMBIE in addition diff --git a/gdb/thread-db.c b/gdb/thread-db.c index 364dcc70b40..8ddc6a27332 100644 --- a/gdb/thread-db.c +++ b/gdb/thread-db.c @@ -575,7 +575,7 @@ attach_thread (ptid_t ptid, const td_thrhandle_t *th_p, 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 @@ -918,7 +918,7 @@ thread_db_thread_alive (ptid_t ptid) 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; } @@ -943,7 +943,7 @@ find_new_threads_callback (const td_thrhandle_t *th_p, void *data) 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)); -- 2.30.2