summaryrefslogtreecommitdiff
path: root/linuxthreads_db
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-11-12 23:31:39 +0000
committerUlrich Drepper <drepper@redhat.com>1999-11-12 23:31:39 +0000
commit932ba4ee943077ae89f96518c761c5cb79db460f (patch)
tree6841cc994ab3b6c58b43fe71f8063fbcf5fa5155 /linuxthreads_db
parentf7a8a904b6ac4883f11d93a267dae6ebeda441b8 (diff)
downloadglibc-932ba4ee943077ae89f96518c761c5cb79db460f.tar.gz
Update.
* charmaps/ISO-8859-7: Fix 0xa1 mapping.
Diffstat (limited to 'linuxthreads_db')
-rw-r--r--linuxthreads_db/ChangeLog3
-rw-r--r--linuxthreads_db/td_ta_thr_iter.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/linuxthreads_db/ChangeLog b/linuxthreads_db/ChangeLog
index 32b06d0d47..0ad9fd12f9 100644
--- a/linuxthreads_db/ChangeLog
+++ b/linuxthreads_db/ChangeLog
@@ -1,5 +1,8 @@
1999-11-12 Ulrich Drepper <drepper@cygnus.com>
+ * td_ta_thr_iter.c: Start copying list of descriptors from right
+ position in target process.
+
* td_ta_thr_iter.c: Fix loop starting point over all but main and
manager thread.
diff --git a/linuxthreads_db/td_ta_thr_iter.c b/linuxthreads_db/td_ta_thr_iter.c
index 5b316516d1..b5694119a4 100644
--- a/linuxthreads_db/td_ta_thr_iter.c
+++ b/linuxthreads_db/td_ta_thr_iter.c
@@ -112,7 +112,7 @@ td_ta_thr_iter (const td_thragent_t *ta, td_thr_iter_f *callback,
return result;
/* Read all the descriptors. */
- if (ps_pdread (ta->ph, ta->handles, &phc[2],
+ if (ps_pdread (ta->ph, ta->handles + 2, &phc[2],
(sizeof (struct pthread_handle_struct)
* (pthread_threads_max - 2))) != PS_OK)
return TD_ERR; /* XXX Other error value? */