summaryrefslogtreecommitdiff
path: root/linuxthreads_db
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-09-28 17:41:37 +0000
committerUlrich Drepper <drepper@redhat.com>2002-09-28 17:41:37 +0000
commit891f199305f611de9a0c7cb8d0587167754cbfa4 (patch)
treeeda0a27a045adeb04b982606b282b6f142232089 /linuxthreads_db
parent1a1495c091472633032c7c890aa1a8ab30b7e38d (diff)
downloadglibc-891f199305f611de9a0c7cb8d0587167754cbfa4.tar.gz
(td_thr_tls_get_addr): Fix reference to dtv.
Diffstat (limited to 'linuxthreads_db')
-rw-r--r--linuxthreads_db/td_thr_tls_get_addr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads_db/td_thr_tls_get_addr.c b/linuxthreads_db/td_thr_tls_get_addr.c
index 2808e8380e..e140b77dc1 100644
--- a/linuxthreads_db/td_thr_tls_get_addr.c
+++ b/linuxthreads_db/td_thr_tls_get_addr.c
@@ -40,7 +40,7 @@ td_thr_tls_get_addr (const td_thrhandle_t *th __attribute__ ((unused)),
/* Get the DTV pointer from the thread descriptor. */
if (ps_pdread (th->th_ta_p->ph,
- &((struct _pthread_descr_struct *) th->th_unique)->dtv,
+ &((struct _pthread_descr_struct *) th->th_unique)->p_header.data.dtvp,
&dtvp, sizeof dtvp) != PS_OK)
return TD_ERR; /* XXX Other error value? */