aboutsummaryrefslogtreecommitdiff
path: root/nptl_db/structs.def
diff options
context:
space:
mode:
Diffstat (limited to 'nptl_db/structs.def')
-rw-r--r--nptl_db/structs.def6
1 files changed, 5 insertions, 1 deletions
diff --git a/nptl_db/structs.def b/nptl_db/structs.def
index 20fa014909..823af5cba2 100644
--- a/nptl_db/structs.def
+++ b/nptl_db/structs.def
@@ -68,11 +68,15 @@ DB_STRUCT_FIELD (pthread_key_data, data)
DB_STRUCT (pthread_key_data_level2)
DB_STRUCT_ARRAY_FIELD (pthread_key_data_level2, data)
+#if USE_TLS
DB_STRUCT_FIELD (link_map, l_tls_modid)
+#endif
+#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. */
+# 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)
#endif