summaryrefslogtreecommitdiff
path: root/gdb/thread-db.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2001-07-03 21:04:49 +0000
committerMichael Snyder <msnyder@specifix.com>2001-07-03 21:04:49 +0000
commit9f0cda3a73558c13d461fc3db8fb373c7292c483 (patch)
treef7c740ad5e721abe6f831efb4c8ede8d46195c6f /gdb/thread-db.c
parentd13e2fb7379164af65fd89d6a4f95cd27f1a8067 (diff)
downloadgdb-9f0cda3a73558c13d461fc3db8fb373c7292c483.tar.gz
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 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));