diff options
author | Roland McGrath <roland@gnu.org> | 2003-03-10 19:20:18 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2003-03-10 19:20:18 +0000 |
commit | 8e6922b50d46715e591f0ee829dba819d6c82fb8 (patch) | |
tree | ba8b16b28683a308d4e79be9ae382e4cdfef8950 /nptl_db | |
parent | f73acc206a1f8cb77f71ad6d3f8b620c44bf49cf (diff) | |
download | glibc-8e6922b50d46715e591f0ee829dba819d6c82fb8.tar glibc-8e6922b50d46715e591f0ee829dba819d6c82fb8.tar.gz glibc-8e6922b50d46715e591f0ee829dba819d6c82fb8.tar.bz2 glibc-8e6922b50d46715e591f0ee829dba819d6c82fb8.zip |
2003-03-10 Roland McGrath <roland@redhat.com>
* 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.
Diffstat (limited to 'nptl_db')
-rw-r--r-- | nptl_db/td_ta_thr_iter.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nptl_db/td_ta_thr_iter.c b/nptl_db/td_ta_thr_iter.c index 37f32f6dc7..6348a97d14 100644 --- a/nptl_db/td_ta_thr_iter.c +++ b/nptl_db/td_ta_thr_iter.c @@ -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, |