aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/thread-db.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index bb17a7c..1626a6c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+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
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));