From be8628cb632d43ae3ce98eb16a252bb9ece3de41 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 12 Nov 1999 23:26:24 +0000 Subject: [PATCH] Start copying list of descriptors from right position in target process. --- linuxthreads_db/td_ta_thr_iter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linuxthreads_db/td_ta_thr_iter.c b/linuxthreads_db/td_ta_thr_iter.c index 5b316516d19..b5694119a4b 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? */ -- 2.47.2