aboutsummaryrefslogtreecommitdiff
path: root/gdb/thread-db.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2001-07-03 21:04:49 +0000
committerMichael Snyder <msnyder@vmware.com>2001-07-03 21:04:49 +0000
commit5d12882f43afa6f9d83b80d27e29ac02bdd803d2 (patch)
tree28edd2cc5657dfc59d8f24c4dee28670b1dc2cc5 /gdb/thread-db.c
parent00783ba94cd6b3d2519a463b821b378369bd86cd (diff)
downloadgdb-5d12882f43afa6f9d83b80d27e29ac02bdd803d2.zip
gdb-5d12882f43afa6f9d83b80d27e29ac02bdd803d2.tar.gz
gdb-5d12882f43afa6f9d83b80d27e29ac02bdd803d2.tar.bz2
2001-07-03 Michael Snyder <msnyder@redhat.com>
* thread_db (find_new_threads_callback, thread_db_thread_alive, attach_thread): Update comments.
Diffstat (limited to 'gdb/thread-db.c')
-rw-r--r--gdb/thread-db.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/thread-db.c b/gdb/thread-db.c
index 364dcc7..8ddc6a2 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));