2003-03-10 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Mon, 10 Mar 2003 19:20:18 +0000 (19:20 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 10 Mar 2003 19:20:18 +0000 (19:20 +0000)
* td_ta_thr_iter.c (iterate_thread_list): Don't use `header.data.'
prefix for `struct pthread' members.
* td_thr_validate.c (check_thread_list): Likewise.
* td_thr_tls_get_addr.c (td_thr_tls_get_addr): Likewise.

nptl_db/td_ta_thr_iter.c

index 37f32f6..6348a97 100644 (file)
@@ -50,8 +50,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, list));
+      psaddr_t addr = ((psaddr_t) list.next - offsetof (struct pthread, list));
 
       int schedpolicy;
       if (ps_pdread (ta->ph, &((struct pthread *) addr)->schedpolicy,