]> git.ipfire.org Git - thirdparty/glibc.git/blob - nptl_db/ChangeLog
Generate .test-result files for tests with special rules.
[thirdparty/glibc.git] / nptl_db / ChangeLog
1 2014-02-21 Joseph Myers <joseph@codesourcery.com>
2
3 * Makefile ($(objpfx)db-symbols.out): Use
4 $(evaluate-test).
5
6 2013-05-31 Joseph Myers <joseph@codesourcery.com>
7
8 * Makefile ($(objpfx)libthread_db.so): Remove dependencies on
9 libc.
10
11 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12
13 * db_info.c: Add missing #include <stdint.h> due to uint64_t or
14 uint32_t usage.
15 * fetch-value.c: Likewise.
16 * td_ta_clear_event.c: Likewise.
17 * td_ta_set_event.c: Likewise.
18 * td_ta_tsd_iter.c: Likewise.
19 * td_thr_clear_event.c: Likewise.
20 * td_thr_get_info.c: Likewise.
21 * td_thr_set_event.c: Likewise.
22 * td_thr_tsd.c: Likewise.
23
24 2013-01-02 Joseph Myers <joseph@codesourcery.com>
25
26 * All files with FSF copyright notices: Update copyright dates
27 using scripts/update-copyrights.
28
29 2013-01-01 Joseph Myers <joseph@codesourcery.com>
30
31 * td_ta_thr_iter.c: Reformat copyright notice.
32 * td_thr_validate.c: Likewise.
33
34 2012-11-23 Mike Frysinger <vapier@gentoo.org>
35
36 * Makefile ($(objpfx)db-symbols.out): Change readelf to $(READELF).
37
38 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
39
40 [BZ #14661]
41 * Makefile ($(objpfx)db-symbols.out): Force C locale when running
42 readelf -s.
43
44 2012-03-07 Ulrich Drepper <drepper@gmail.com>
45
46 * Makefile (distribute): Remove variable.
47
48 2011-09-15 Andreas Schwab <schwab@redhat.com>
49
50 * thread_dbP.h: Include <list.h>
51
52 2009-08-23 Roland McGrath <roland@redhat.com>
53
54 * td_ta_map_lwp2thr.c (__td_ta_lookup_th_unique): Move ta_ok check
55 and LOG call back to ...
56 (td_ta_map_lwp2thr): ... here.
57 Reported by Maciej W. Rozycki <macro@codesourcery.com>.
58
59 2009-05-25 Aurelien Jarno <aurelien@aurel32.net>
60
61 [BZ #10200]
62 * db-symbols.awk: Use the last field for the symbol name instead
63 of the 8th one.
64
65 2009-03-19 Roland McGrath <roland@redhat.com>
66
67 * td_symbol_list.c (DB_LOOKUP_NAME, DB_LOOKUP_NAME_TH_UNIQUE):
68 Use STRINGIFY macro in place of #argument.
69
70 2009-02-27 Roland McGrath <roland@redhat.com>
71
72 * td_symbol_list.c (symbol_list_arr): Move initializer guts to ...
73 * db-symbols.h: ... here, new file.
74 * db-symbols.awk: New file.
75 * Makefile (distribute): Add them.
76 ($(objpfx)db-symbols.out): New target.
77 (tests): Depend on it.
78 ($(objpfx)db-symbols.v.i): New dependent rule.
79
80 2009-02-06 Ulrich Drepper <drepper@redhat.com>
81
82 * td_thr_get_info.c (td_thr_get_info): Initialize schedpolicy in
83 the special case [Coverity CID 251].
84
85 2008-03-25 Roland McGrath <roland@redhat.com>
86
87 [BZ #5983]
88 * structs.def: Add pid field of struct pthread.
89 * td_ta_thr_iter.c (iterate_thread_list): Take new arg MATCH_PID.
90 If a thread's pid does not match nor is < 0 while its tid matches
91 nor is < 0 and equal to -MATCH_PID, ignore it.
92 * td_thr_validate.c (td_thr_validate): Validate thread's pid/tid.
93
94 2007-05-16 Roland McGrath <roland@redhat.com>
95
96 * td_thr_get_info.c: Fake the results for TH->th_unique == 0.
97 * td_thr_validate.c: Likewise.
98 * td_thr_setgregs.c: Likewise.
99 * td_thr_setfpregs.c: Likewise.
100 * td_thr_getgregs.c: Likewise.
101 * td_thr_getfpregs.c: Likewise.
102 * td_thr_tlsbase.c: Likewise.
103
104 * structs.def: Add DB_VARIABLE (__nptl_initial_report_events).
105 * db_info.c: Add necessary declaration.
106 * td_thr_event_enable.c: Set __nptl_initial_report_events too.
107
108 * td_ta_thr_iter.c (iterate_thread_list): Make FAKE_EMPTY bool.
109 Use th_unique=0 in fake descriptor before initialization.
110
111 * td_ta_map_lwp2thr.c (__td_ta_lookup_th_unique): New function, broken
112 out of ...
113 (td_ta_map_lwp2thr): ... here, call it. But don't before __stack_user
114 is initialized, then fake a handle with th_unique=0.
115 * thread_dbP.h: Declare it.
116
117 2006-10-26 Pete Eberlein <eberlein@us.ibm.com>
118
119 * nptl_db/db_info.c [TLS_DTV_AT_TP]: Fixed size init for dtvp
120 to sizeof a pointer, instead of sizeof the union.
121
122 2006-10-27 Ulrich Drepper <drepper@redhat.com>
123
124 * structs.def: USE_TLS support is now default.
125
126 2006-02-03 Roland McGrath <roland@redhat.com>
127
128 * structs.def: Add a descriptor for pointer.val field of dtv_t.
129 * td_thr_tlsbase.c (td_thr_tlsbase): Extract pointer.val field from
130 DTV slot.
131
132 2004-09-09 Roland McGrath <roland@redhat.com>
133
134 * td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Don't abort if inferior's
135 descriptor is bogus.
136
137 2004-05-27 Roland McGrath <roland@redhat.com>
138
139 * td_thr_validate.c: When we find no threads and the inferior appears
140 uninitialized, validate the main thread as a special case.
141
142 2004-05-01 Jakub Jelinek <jakub@redhat.com>
143
144 * thread_dbP.h (LOG): Use write instead of __libc_write.
145
146 2004-04-03 Ulrich Drepper <drepper@redhat.com>
147
148 * td_ta_set_event.c (td_ta_set_event): Initialize copy to avoid
149 warnings.
150
151 * td_ta_thr_iter.c (td_ta_thr_iter): Initialize list to avoid warning.
152 * td_ta_clear_event.c (td_ta_clear_event): Initialize eventmask to
153 avoid warning.
154 * td_ta_set_event.c (td_ta_set_event): Likewise.
155
156 2004-03-24 Roland McGrath <roland@redhat.com>
157
158 * fetch-value.c (_td_locate_field): Cast DB_DESC_OFFSET to int32_t.
159 * thread_dbP.h (DB_DESC_OFFSET): Remove cast from definition.
160
161 2004-03-13 Jakub Jelinek <jakub@redhat.com>
162
163 * db_info.c: Don't use TLS_TP_OFFSET in the #if, but
164 TLS_TCB_SIZE == 0 ?: in the DESC macro.
165
166 2004-03-12 Roland McGrath <roland@redhat.com>
167
168 * db_info.c [TLS_DTV_AT_TP && TLS_TP_OFFSET > 0]
169 (_thread_db_pthread_dtvp): Define differently for this case (PowerPC).
170
171 2003-12-11 Ulrich Weigand <uweigand@de.ibm.com>
172
173 * db_info.c (REGISTER): Add bit size of thread register as second
174 parameter to REGISTER macro.
175
176 2003-12-02 Roland McGrath <roland@redhat.com>
177
178 * thread_dbP.h (DB_FUNCTION): New macro.
179 * structs.def: Use it for __nptl_create_event and __nptl_death_event.
180 * db_info.c (DB_FUNCTION): New macro.
181 * td_symbol_list.c (DB_FUNCTION): New macro, prepend "." to symbol
182 name under [HAVE_ASM_GLOBAL_DOT_NAME].
183 (td_lookup) [HAVE_ASM_GLOBAL_DOT_NAME]: If lookup fails with PS_NOSYM
184 and name starts with a dot, try it without the dot.
185
186 2003-09-08 Roland McGrath <roland@redhat.com>
187
188 * td_thr_get_info.c (td_thr_get_info): Cast th_unique to thread_t.
189
190 2003-08-22 Roland McGrath <roland@redhat.com>
191
192 * fetch-value.c (_td_check_sizeof, _td_locate_field): Return
193 TD_NOCAPAB for PS_NOSYM, instead of vanilla TD_ERR.
194 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Return TD_NOAPLIC when
195 DB_GET_FIELD returns TD_NOCAPAB.
196
197 * thread_db.h (td_thr_tls_get_addr): Use psaddr_t in signature.
198 * structs.def [USE_TLS]: Add DB_STRUCT_FIELD (link_map, l_tls_modid).
199 * db_info.c (link_map): Typedef it.
200 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Rewritten.
201
202 2003-08-14 Roland McGrath <roland@redhat.com>
203
204 * thread_dbP.h: Mostly rewritten with many new macros and decls.
205 * td_ta_new.c (td_ta_new): Don't cache a lot of symbol values.
206 * structs.def: New file.
207 * db_info.c: New file.
208 * td_symbol_list.c (symbol_list_arr): Define with structs.def macros.
209 * td_ta_clear_event.c: Rewritten.
210 * td_ta_event_addr.c: Rewritten.
211 * td_ta_event_getmsg.c: Rewritten.
212 * td_ta_get_nthreads.c: Rewritten.
213 * td_ta_map_lwp2thr.c: New file.
214 * td_ta_set_event.c: Rewritten.
215 * td_ta_thr_iter.c: Rewritten.
216 * td_ta_tsd_iter.c: Rewritten.
217 * td_thr_clear_event.c: Rewritten.
218 * td_thr_event_enable.c: Rewritten.
219 * td_thr_event_getmsg.c: Rewritten.
220 * td_thr_get_info.c: Rewritten.
221 * td_thr_getfpregs.c: Rewritten.
222 * td_thr_getgregs.c: Rewritten.
223 * td_thr_set_event.c: Rewritten.
224 * td_thr_setfpregs.c: Rewritten.
225 * td_thr_setgregs.c: Rewritten.
226 * td_thr_tlsbase.c: Rewritten.
227 * td_thr_tsd.c: Rewritten.
228 * td_thr_validate.c: Rewritten.
229 * Makefile (distribute): Add them.
230 * fetch-value.c: New file.
231 * Makefile (libthread_db-routines): Add it.
232
233 * thread_db.h (td_err_e): Comment fix.
234
235 2003-08-05 Roland McGrath <roland@redhat.com>
236
237 * thread_dbP.h (td_lookup): Add attribute_hidden to decl.
238
239 2003-08-04 Roland McGrath <roland@redhat.com>
240
241 * td_ta_clear_event.c (td_ta_clear_event): Fix sizes in ps_* calls.
242
243 2003-06-23 Roland McGrath <roland@redhat.com>
244
245 * proc_service.h: Cosmetic and comment fixes.
246
247 2003-06-19 Roland McGrath <roland@redhat.com>
248
249 * td_thr_event_enable.c (td_thr_event_enable): Use proper type `bool'
250 for value written into inferior's `report_events'.
251
252 2003-03-18 Roland McGrath <roland@redhat.com>
253
254 * td_thr_event_getmsg.c (td_thr_event_getmsg): Splice the thread out
255 of the ->nextevent linkage.
256
257 * td_ta_event_getmsg.c (td_ta_event_getmsg): Runtime error instead of
258 assert for reading TD_EVENT_NONE. Clear the event buffer after
259 reading it. Add a sanity check for foo->nextevent = foo.
260
261 2003-03-15 Roland McGrath <roland@redhat.com>
262
263 * thread_db.h (td_err_e): Add TD_NOTLS and TD_TLSDEFER.
264 (td_thr_tlsbase): Declare it.
265 * td_thr_tlsbase.c: New file.
266 * Makefile (libthread_db-routines): Add it.
267 * Versions (libthread_db: GLIBC_2.3.3): New set, add td_thr_tlsbase.
268 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Use td_thr_tlsbase.
269
270 2003-03-14 Roland McGrath <roland@redhat.com>
271
272 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Use `header.' prefix.
273
274 2003-03-10 Roland McGrath <roland@redhat.com>
275
276 * td_ta_thr_iter.c (iterate_thread_list): Don't use `header.data.'
277 prefix for `struct pthread' members.
278 * td_thr_validate.c (check_thread_list): Likewise.
279 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Likewise.
280
281 2003-03-03 Roland McGrath <roland@redhat.com>
282
283 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Handle TLS_DTV_AT_TP.
284
285 2003-02-15 Ulrich Drepper <drepper@redhat.com>
286
287 * td_symbol_list.c: New symbol name for SYM_PTHREAD_NTHREADS.
288
289 2003-01-07 Jakub Jelinek <jakub@redhat.com>
290
291 * td_ta_event_getmsg.c: Include assert.h.
292
293 -2003-01-05 Ulrich Drepper <drepper@redhat.com>
294
295 * Makefile (libthread_db.so-no-z-defs): Define.
296
297 2003-01-03 Roland McGrath <roland@redhat.com>
298
299 * td_thr_setgregs.c (td_thr_setgregs): *_BIT -> *_BITMASK
300 * td_thr_setfpregs.c (td_thr_setfpregs): Likewise.
301 * td_thr_get_info.c (td_thr_get_info): Likewise.
302 * td_thr_getgregs.c (td_thr_getgregs): Likewise.
303 * td_thr_getfpregs.c (td_thr_getfpregs): Likewise.
304 * td_ta_thr_iter.c (iterate_thread_list): Likewise.
305
306 2002-12-12 Roland McGrath <roland@redhat.com>
307
308 * td_ta_thr_iter.c (iterate_thread_list): Handle special case of
309 uninitialized __stack_user (zeros), hard-wire just the main thread.
310
311 * td_thr_get_info.c (td_thr_get_info): Fix ti_lid initialization.
312
313 2002-12-06 Roland McGrath <roland@redhat.com>
314
315 * td_ta_event_getmsg.c (td_ta_event_getmsg): Write the NEXT pointer
316 into the inferior's __pthread_last_event variable, not a word from
317 an inferior address used in the parent. Pass the address of a
318 null word to ps_pdwrite, not a null pointer.
319
320 2002-12-04 Roland McGrath <roland@redhat.com>
321
322 * td_thr_get_info.c (td_thr_get_info): ti_tid is pthread_t, not a PID.
323
324 * thread_db.h (td_thrinfo_t): Comment fix.
325
326 * td_ta_map_lwp2thr.c: Moved to ../nptl/sysdeps/i386/.
327
328 2002-12-04 Ulrich Drepper <drepper@redhat.com>
329
330 * td_ta_thr_iter.c (iterate_thread_list): At end of iteration read
331 pointer to the next element from inferior.
332
333 2002-12-02 Roland McGrath <roland@redhat.com>
334
335 * td_symbol_list.c (symbol_list_arr): pthread_keys -> __pthread_keys
336
337 * td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Fetch inferior registers to
338 see its %gs value, not our own.