about summary refs log tree commit diff
path: root/nptl_db/structs.def
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-02-04 00:48:40 +0000
committerRoland McGrath <roland@gnu.org>2006-02-04 00:48:40 +0000
commit0fdd44dcb4d34f8d19f89a7f3f54be010f1ee62b (patch)
treeda0b791668dca2fb8b0199e5effa78fccc65f0c4 /nptl_db/structs.def
parentf2a2deef4de6c97f557b925e6701135dddce2eac (diff)
downloadglibc-0fdd44dcb4d34f8d19f89a7f3f54be010f1ee62b.tar.gz
glibc-0fdd44dcb4d34f8d19f89a7f3f54be010f1ee62b.tar.xz
glibc-0fdd44dcb4d34f8d19f89a7f3f54be010f1ee62b.zip
* structs.def: Add a descriptor for pointer.val field of dtv_t.
	* td_thr_tlsbase.c (td_thr_tlsbase): Extract pointer.val field from
	DTV slot.
Diffstat (limited to 'nptl_db/structs.def')
-rw-r--r--nptl_db/structs.def4
1 files changed, 3 insertions, 1 deletions
diff --git a/nptl_db/structs.def b/nptl_db/structs.def
index b17a628e0a..823af5cba2 100644
--- a/nptl_db/structs.def
+++ b/nptl_db/structs.def
@@ -1,5 +1,5 @@
 /* List of types and symbols in libpthread examined by libthread_db.
-   Copyright (C) 2003 Free Software Foundation, Inc.
+   Copyright (C) 2003, 2006 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -74,6 +74,8 @@ DB_STRUCT_FIELD (link_map, l_tls_modid)
 
 #if !defined IS_IN_libpthread || USE_TLS
 DB_STRUCT_ARRAY_FIELD (dtv, dtv)
+# define pointer_val pointer.val /* Field of anonymous struct in dtv_t.  */
+DB_STRUCT_FIELD (dtv_t, pointer_val)
 #endif
 #if !defined IS_IN_libpthread || TLS_TCB_AT_TP
 DB_STRUCT_FIELD (pthread, dtvp)