From f39f0b9397ee5788653af80101ec15d01d2b0b2f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 10 Mar 2003 18:59:25 +0000 Subject: Update for TC change. --- nptl_db/td_ta_thr_iter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nptl_db/td_ta_thr_iter.c') diff --git a/nptl_db/td_ta_thr_iter.c b/nptl_db/td_ta_thr_iter.c index b52e1cd890..37f32f6dc7 100644 --- a/nptl_db/td_ta_thr_iter.c +++ b/nptl_db/td_ta_thr_iter.c @@ -51,7 +51,7 @@ iterate_thread_list (const td_thragent_t *ta, td_thr_iter_f *callback, while (list.next != head) { psaddr_t addr = ((psaddr_t) list.next - - offsetof (struct pthread, header.data.list)); + - offsetof (struct pthread, list)); int schedpolicy; if (ps_pdread (ta->ph, &((struct pthread *) addr)->schedpolicy, @@ -102,7 +102,7 @@ iterate_thread_list (const td_thragent_t *ta, td_thr_iter_f *callback, } /* Get the pointer to the next element. */ - if (ps_pdread (ta->ph, &((struct pthread *) addr)->header.data.list, + if (ps_pdread (ta->ph, &((struct pthread *) addr)->list, &list, sizeof (list_t)) != PS_OK) return TD_ERR; /* XXX Other error value? */ } -- cgit v1.2.3-70-g09d2