]>
Commit | Line | Data |
---|---|---|
7f08f55a RM |
1 | /* List of types and symbols in libpthread examined by libthread_db. |
2 | Copyright (C) 2003 Free Software Foundation, Inc. | |
3 | This file is part of the GNU C Library. | |
4 | ||
5 | The GNU C Library is free software; you can redistribute it and/or | |
6 | modify it under the terms of the GNU Lesser General Public | |
7 | License as published by the Free Software Foundation; either | |
8 | version 2.1 of the License, or (at your option) any later version. | |
9 | ||
10 | The GNU C Library is distributed in the hope that it will be useful, | |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | Lesser General Public License for more details. | |
14 | ||
15 | You should have received a copy of the GNU Lesser General Public | |
16 | License along with the GNU C Library; if not, write to the Free | |
17 | Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA | |
18 | 02111-1307 USA. */ | |
19 | ||
20 | #ifndef DB_STRUCT_ARRAY_FIELD | |
21 | # define DB_STRUCT_ARRAY_FIELD(type, field) DB_STRUCT_FIELD (type, field) | |
22 | # define DB_ARRAY_VARIABLE(name) DB_VARIABLE (name) | |
23 | # define STRUCTS_DEF_DEFAULTS 1 | |
24 | #endif | |
25 | ||
26 | DB_STRUCT (pthread) | |
27 | DB_STRUCT_FIELD (pthread, list) | |
28 | DB_STRUCT_FIELD (pthread, report_events) | |
29 | DB_STRUCT_FIELD (pthread, tid) | |
30 | DB_STRUCT_FIELD (pthread, start_routine) | |
31 | DB_STRUCT_FIELD (pthread, cancelhandling) | |
32 | DB_STRUCT_FIELD (pthread, schedpolicy) | |
33 | DB_STRUCT_FIELD (pthread, schedparam_sched_priority) | |
34 | DB_STRUCT_FIELD (pthread, specific) | |
35 | DB_STRUCT_FIELD (pthread, eventbuf) | |
36 | DB_STRUCT_FIELD (pthread, eventbuf_eventmask) | |
37 | DB_STRUCT_ARRAY_FIELD (pthread, eventbuf_eventmask_event_bits) | |
38 | DB_STRUCT_FIELD (pthread, nextevent) | |
39 | ||
40 | DB_STRUCT (list_t) | |
41 | DB_STRUCT_FIELD (list_t, next) | |
42 | DB_STRUCT_FIELD (list_t, prev) | |
43 | ||
44 | DB_STRUCT (td_thr_events_t) | |
45 | DB_STRUCT_ARRAY_FIELD (td_thr_events_t, event_bits) | |
46 | ||
47 | DB_STRUCT (td_eventbuf_t) | |
48 | DB_STRUCT_FIELD (td_eventbuf_t, eventnum) | |
49 | DB_STRUCT_FIELD (td_eventbuf_t, eventdata) | |
50 | ||
51 | DB_SYMBOL (stack_used) | |
52 | DB_SYMBOL (__stack_user) | |
53 | DB_SYMBOL (nptl_version) | |
d43147cd RM |
54 | DB_FUNCTION (__nptl_create_event) |
55 | DB_FUNCTION (__nptl_death_event) | |
7f08f55a RM |
56 | DB_SYMBOL (__nptl_threads_events) |
57 | DB_VARIABLE (__nptl_nthreads) | |
58 | DB_VARIABLE (__nptl_last_event) | |
59 | ||
60 | DB_ARRAY_VARIABLE (__pthread_keys) | |
61 | DB_STRUCT (pthread_key_struct) | |
62 | DB_STRUCT_FIELD (pthread_key_struct, seq) | |
63 | DB_STRUCT_FIELD (pthread_key_struct, destr) | |
64 | ||
65 | DB_STRUCT (pthread_key_data) | |
66 | DB_STRUCT_FIELD (pthread_key_data, seq) | |
67 | DB_STRUCT_FIELD (pthread_key_data, data) | |
68 | DB_STRUCT (pthread_key_data_level2) | |
69 | DB_STRUCT_ARRAY_FIELD (pthread_key_data_level2, data) | |
70 | ||
71 | #if USE_TLS | |
72 | DB_STRUCT_FIELD (link_map, l_tls_modid) | |
73 | #endif | |
74 | ||
75 | #if !defined IS_IN_libpthread || USE_TLS | |
76 | DB_STRUCT_ARRAY_FIELD (dtv, dtv) | |
77 | #endif | |
78 | #if !defined IS_IN_libpthread || TLS_TCB_AT_TP | |
79 | DB_STRUCT_FIELD (pthread, dtvp) | |
80 | #endif | |
81 | ||
82 | #ifdef STRUCTS_DEF_DEFAULTS | |
83 | # undef DB_STRUCT_ARRAY_FIELD | |
84 | # undef DB_ARRAY_VARIABLE | |
85 | # undef STRUCTS_DEF_DEFAULTS | |
86 | #endif |