summaryrefslogtreecommitdiff
path: root/nptl_db/structs.def
diff options
context:
space:
mode:
Diffstat (limited to 'nptl_db/structs.def')
-rw-r--r--nptl_db/structs.def10
1 files changed, 9 insertions, 1 deletions
diff --git a/nptl_db/structs.def b/nptl_db/structs.def
index 75da95a36e..fbb36538fa 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, 2006, 2007, 2008 Free Software Foundation, Inc.
+ Copyright (C) 2003,2006,2007,2008,2009 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
@@ -23,6 +23,8 @@
# define STRUCTS_DEF_DEFAULTS 1
#endif
+#if defined IS_IN_libpthread || defined IS_IN_libthread_db
+
DB_STRUCT (pthread)
DB_STRUCT_FIELD (pthread, list)
DB_STRUCT_FIELD (pthread, report_events)
@@ -70,6 +72,12 @@ DB_STRUCT_FIELD (pthread_key_data, data)
DB_STRUCT (pthread_key_data_level2)
DB_STRUCT_ARRAY_FIELD (pthread_key_data_level2, data)
+#endif /* IS_IN_libpthread || IS_IN_libthread_db */
+
+#ifndef IS_IN_libpthread
+DB_SYMBOL (_thread_db_dl_nptl_version)
+#endif
+
DB_STRUCT_FIELD (link_map, l_tls_modid)
DB_STRUCT_ARRAY_FIELD (dtv, dtv)