]> git.ipfire.org Git - thirdparty/glibc.git/blame - nptl_db/ChangeLog
Add script to update copyright notices and reformat some to facilitate its use.
[thirdparty/glibc.git] / nptl_db / ChangeLog
CommitLineData
f4cf5f2d
JM
12013-01-01 Joseph Myers <joseph@codesourcery.com>
2
3 * td_ta_thr_iter.c: Reformat copyright notice.
4 * td_thr_validate.c: Likewise.
5
800938a1
MF
62012-11-23 Mike Frysinger <vapier@gentoo.org>
7
8 * Makefile ($(objpfx)db-symbols.out): Change readelf to $(READELF).
9
72bd2088
JN
102012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11
12 [BZ #14661]
13 * Makefile ($(objpfx)db-symbols.out): Force C locale when running
14 readelf -s.
15
a4300c7a
UD
162012-03-07 Ulrich Drepper <drepper@gmail.com>
17
18 * Makefile (distribute): Remove variable.
19
7a775e6b
AS
202011-09-15 Andreas Schwab <schwab@redhat.com>
21
22 * thread_dbP.h: Include <list.h>
23
a0e25a88
RM
242009-08-23 Roland McGrath <roland@redhat.com>
25
26 * td_ta_map_lwp2thr.c (__td_ta_lookup_th_unique): Move ta_ok check
27 and LOG call back to ...
28 (td_ta_map_lwp2thr): ... here.
29 Reported by Maciej W. Rozycki <macro@codesourcery.com>.
30
8ee84bd0
AJ
312009-05-25 Aurelien Jarno <aurelien@aurel32.net>
32
33 [BZ #10200]
34 * db-symbols.awk: Use the last field for the symbol name instead
35 of the 8th one.
36
e4bac657
RM
372009-03-19 Roland McGrath <roland@redhat.com>
38
39 * td_symbol_list.c (DB_LOOKUP_NAME, DB_LOOKUP_NAME_TH_UNIQUE):
40 Use STRINGIFY macro in place of #argument.
41
e965d514
RM
422009-02-27 Roland McGrath <roland@redhat.com>
43
44 * td_symbol_list.c (symbol_list_arr): Move initializer guts to ...
45 * db-symbols.h: ... here, new file.
46 * db-symbols.awk: New file.
47 * Makefile (distribute): Add them.
48 ($(objpfx)db-symbols.out): New target.
49 (tests): Depend on it.
50 ($(objpfx)db-symbols.v.i): New dependent rule.
51
2191e7ff
UD
522009-02-06 Ulrich Drepper <drepper@redhat.com>
53
54 * td_thr_get_info.c (td_thr_get_info): Initialize schedpolicy in
55 the special case [Coverity CID 251].
56
4c6965ac
RM
572008-03-25 Roland McGrath <roland@redhat.com>
58
0bcd5321 59 [BZ #5983]
4c6965ac
RM
60 * structs.def: Add pid field of struct pthread.
61 * td_ta_thr_iter.c (iterate_thread_list): Take new arg MATCH_PID.
62 If a thread's pid does not match nor is < 0 while its tid matches
63 nor is < 0 and equal to -MATCH_PID, ignore it.
64 * td_thr_validate.c (td_thr_validate): Validate thread's pid/tid.
65
7d9d8bd1
RM
662007-05-16 Roland McGrath <roland@redhat.com>
67
68 * td_thr_get_info.c: Fake the results for TH->th_unique == 0.
69 * td_thr_validate.c: Likewise.
70 * td_thr_setgregs.c: Likewise.
71 * td_thr_setfpregs.c: Likewise.
72 * td_thr_getgregs.c: Likewise.
73 * td_thr_getfpregs.c: Likewise.
74 * td_thr_tlsbase.c: Likewise.
75
76 * structs.def: Add DB_VARIABLE (__nptl_initial_report_events).
77 * db_info.c: Add necessary declaration.
78 * td_thr_event_enable.c: Set __nptl_initial_report_events too.
79
80 * td_ta_thr_iter.c (iterate_thread_list): Make FAKE_EMPTY bool.
81 Use th_unique=0 in fake descriptor before initialization.
82
83 * td_ta_map_lwp2thr.c (__td_ta_lookup_th_unique): New function, broken
84 out of ...
85 (td_ta_map_lwp2thr): ... here, call it. But don't before __stack_user
86 is initialized, then fake a handle with th_unique=0.
87 * thread_dbP.h: Declare it.
88
416b6309
UD
892006-10-26 Pete Eberlein <eberlein@us.ibm.com>
90
91 * nptl_db/db_info.c [TLS_DTV_AT_TP]: Fixed size init for dtvp
92 to sizeof a pointer, instead of sizeof the union.
93
11bf311e
UD
942006-10-27 Ulrich Drepper <drepper@redhat.com>
95
96 * structs.def: USE_TLS support is now default.
97
0fdd44dc
RM
982006-02-03 Roland McGrath <roland@redhat.com>
99
100 * structs.def: Add a descriptor for pointer.val field of dtv_t.
101 * td_thr_tlsbase.c (td_thr_tlsbase): Extract pointer.val field from
102 DTV slot.
103
1386a2bb
RM
1042004-09-09 Roland McGrath <roland@redhat.com>
105
106 * td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Don't abort if inferior's
107 descriptor is bogus.
108
7a7fc639
RM
1092004-05-27 Roland McGrath <roland@redhat.com>
110
111 * td_thr_validate.c: When we find no threads and the inferior appears
112 uninitialized, validate the main thread as a special case.
113
4bb8fc33
UD
1142004-05-01 Jakub Jelinek <jakub@redhat.com>
115
116 * thread_dbP.h (LOG): Use write instead of __libc_write.
117
1e084487
UD
1182004-04-03 Ulrich Drepper <drepper@redhat.com>
119
5da3d377
UD
120 * td_ta_set_event.c (td_ta_set_event): Initialize copy to avoid
121 warnings.
122
1e084487
UD
123 * td_ta_thr_iter.c (td_ta_thr_iter): Initialize list to avoid warning.
124 * td_ta_clear_event.c (td_ta_clear_event): Initialize eventmask to
125 avoid warning.
126 * td_ta_set_event.c (td_ta_set_event): Likewise.
127
db2f05ba
RM
1282004-03-24 Roland McGrath <roland@redhat.com>
129
130 * fetch-value.c (_td_locate_field): Cast DB_DESC_OFFSET to int32_t.
131 * thread_dbP.h (DB_DESC_OFFSET): Remove cast from definition.
132
743fa97c
RM
1332004-03-13 Jakub Jelinek <jakub@redhat.com>
134
135 * db_info.c: Don't use TLS_TP_OFFSET in the #if, but
136 TLS_TCB_SIZE == 0 ?: in the DESC macro.
137
26301a17
RM
1382004-03-12 Roland McGrath <roland@redhat.com>
139
140 * db_info.c [TLS_DTV_AT_TP && TLS_TP_OFFSET > 0]
141 (_thread_db_pthread_dtvp): Define differently for this case (PowerPC).
142
763c0490
RM
1432003-12-11 Ulrich Weigand <uweigand@de.ibm.com>
144
145 * db_info.c (REGISTER): Add bit size of thread register as second
146 parameter to REGISTER macro.
147
b1b2fb59
RM
1482003-12-02 Roland McGrath <roland@redhat.com>
149
150 * thread_dbP.h (DB_FUNCTION): New macro.
151 * structs.def: Use it for __nptl_create_event and __nptl_death_event.
152 * db_info.c (DB_FUNCTION): New macro.
153 * td_symbol_list.c (DB_FUNCTION): New macro, prepend "." to symbol
154 name under [HAVE_ASM_GLOBAL_DOT_NAME].
155 (td_lookup) [HAVE_ASM_GLOBAL_DOT_NAME]: If lookup fails with PS_NOSYM
156 and name starts with a dot, try it without the dot.
157
7f08f55a
RM
1582003-09-08 Roland McGrath <roland@redhat.com>
159
160 * td_thr_get_info.c (td_thr_get_info): Cast th_unique to thread_t.
161
1622003-08-22 Roland McGrath <roland@redhat.com>
163
164 * fetch-value.c (_td_check_sizeof, _td_locate_field): Return
165 TD_NOCAPAB for PS_NOSYM, instead of vanilla TD_ERR.
166 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Return TD_NOAPLIC when
167 DB_GET_FIELD returns TD_NOCAPAB.
168
169 * thread_db.h (td_thr_tls_get_addr): Use psaddr_t in signature.
170 * structs.def [USE_TLS]: Add DB_STRUCT_FIELD (link_map, l_tls_modid).
171 * db_info.c (link_map): Typedef it.
172 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Rewritten.
173
1742003-08-14 Roland McGrath <roland@redhat.com>
175
176 * thread_dbP.h: Mostly rewritten with many new macros and decls.
177 * td_ta_new.c (td_ta_new): Don't cache a lot of symbol values.
178 * structs.def: New file.
179 * db_info.c: New file.
180 * td_symbol_list.c (symbol_list_arr): Define with structs.def macros.
181 * td_ta_clear_event.c: Rewritten.
182 * td_ta_event_addr.c: Rewritten.
183 * td_ta_event_getmsg.c: Rewritten.
184 * td_ta_get_nthreads.c: Rewritten.
185 * td_ta_map_lwp2thr.c: New file.
186 * td_ta_set_event.c: Rewritten.
187 * td_ta_thr_iter.c: Rewritten.
188 * td_ta_tsd_iter.c: Rewritten.
189 * td_thr_clear_event.c: Rewritten.
190 * td_thr_event_enable.c: Rewritten.
191 * td_thr_event_getmsg.c: Rewritten.
192 * td_thr_get_info.c: Rewritten.
193 * td_thr_getfpregs.c: Rewritten.
194 * td_thr_getgregs.c: Rewritten.
195 * td_thr_set_event.c: Rewritten.
196 * td_thr_setfpregs.c: Rewritten.
197 * td_thr_setgregs.c: Rewritten.
198 * td_thr_tlsbase.c: Rewritten.
199 * td_thr_tsd.c: Rewritten.
200 * td_thr_validate.c: Rewritten.
201 * Makefile (distribute): Add them.
202 * fetch-value.c: New file.
203 * Makefile (libthread_db-routines): Add it.
204
205 * thread_db.h (td_err_e): Comment fix.
206
2072003-08-05 Roland McGrath <roland@redhat.com>
208
209 * thread_dbP.h (td_lookup): Add attribute_hidden to decl.
210
2112003-08-04 Roland McGrath <roland@redhat.com>
212
213 * td_ta_clear_event.c (td_ta_clear_event): Fix sizes in ps_* calls.
214
2152003-06-23 Roland McGrath <roland@redhat.com>
216
217 * proc_service.h: Cosmetic and comment fixes.
218
a9c30e95
RM
2192003-06-19 Roland McGrath <roland@redhat.com>
220
221 * td_thr_event_enable.c (td_thr_event_enable): Use proper type `bool'
222 for value written into inferior's `report_events'.
223
8cfb7315
RM
2242003-03-18 Roland McGrath <roland@redhat.com>
225
226 * td_thr_event_getmsg.c (td_thr_event_getmsg): Splice the thread out
227 of the ->nextevent linkage.
228
229 * td_ta_event_getmsg.c (td_ta_event_getmsg): Runtime error instead of
230 assert for reading TD_EVENT_NONE. Clear the event buffer after
231 reading it. Add a sanity check for foo->nextevent = foo.
232
bfeafbf7
RM
2332003-03-15 Roland McGrath <roland@redhat.com>
234
235 * thread_db.h (td_err_e): Add TD_NOTLS and TD_TLSDEFER.
236 (td_thr_tlsbase): Declare it.
237 * td_thr_tlsbase.c: New file.
238 * Makefile (libthread_db-routines): Add it.
239 * Versions (libthread_db: GLIBC_2.3.3): New set, add td_thr_tlsbase.
240 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Use td_thr_tlsbase.
241
2e49caba
RM
2422003-03-14 Roland McGrath <roland@redhat.com>
243
244 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Use `header.' prefix.
245
ce2290cb 2462003-03-10 Roland McGrath <roland@redhat.com>
f73acc20 247
ce2290cb
RM
248 * td_ta_thr_iter.c (iterate_thread_list): Don't use `header.data.'
249 prefix for `struct pthread' members.
250 * td_thr_validate.c (check_thread_list): Likewise.
251 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Likewise.
252
2532003-03-03 Roland McGrath <roland@redhat.com>
254
255 * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Handle TLS_DTV_AT_TP.
f73acc20 256
1c82b97f
UD
2572003-02-15 Ulrich Drepper <drepper@redhat.com>
258
259 * td_symbol_list.c: New symbol name for SYM_PTHREAD_NTHREADS.
260
b5facfda
UD
2612003-01-07 Jakub Jelinek <jakub@redhat.com>
262
263 * td_ta_event_getmsg.c: Include assert.h.
264
265-2003-01-05 Ulrich Drepper <drepper@redhat.com>
73e9ae88
UD
266
267 * Makefile (libthread_db.so-no-z-defs): Define.
268
f02392ec
RM
2692003-01-03 Roland McGrath <roland@redhat.com>
270
271 * td_thr_setgregs.c (td_thr_setgregs): *_BIT -> *_BITMASK
272 * td_thr_setfpregs.c (td_thr_setfpregs): Likewise.
273 * td_thr_get_info.c (td_thr_get_info): Likewise.
274 * td_thr_getgregs.c (td_thr_getgregs): Likewise.
275 * td_thr_getfpregs.c (td_thr_getfpregs): Likewise.
276 * td_ta_thr_iter.c (iterate_thread_list): Likewise.
277
a305fd6a
RM
2782002-12-12 Roland McGrath <roland@redhat.com>
279
280 * td_ta_thr_iter.c (iterate_thread_list): Handle special case of
281 uninitialized __stack_user (zeros), hard-wire just the main thread.
282
283 * td_thr_get_info.c (td_thr_get_info): Fix ti_lid initialization.
284
58a851f1
RM
2852002-12-06 Roland McGrath <roland@redhat.com>
286
287 * td_ta_event_getmsg.c (td_ta_event_getmsg): Write the NEXT pointer
288 into the inferior's __pthread_last_event variable, not a word from
289 an inferior address used in the parent. Pass the address of a
290 null word to ps_pdwrite, not a null pointer.
291
ac110745
RM
2922002-12-04 Roland McGrath <roland@redhat.com>
293
294 * td_thr_get_info.c (td_thr_get_info): ti_tid is pthread_t, not a PID.
295
296 * thread_db.h (td_thrinfo_t): Comment fix.
297
298 * td_ta_map_lwp2thr.c: Moved to ../nptl/sysdeps/i386/.
299
abbd6175
UD
3002002-12-04 Ulrich Drepper <drepper@redhat.com>
301
302 * td_ta_thr_iter.c (iterate_thread_list): At end of iteration read
303 pointer to the next element from inferior.
304
fa9a4ff0
RM
3052002-12-02 Roland McGrath <roland@redhat.com>
306
307 * td_symbol_list.c (symbol_list_arr): pthread_keys -> __pthread_keys
308
309 * td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Fetch inferior registers to
310 see its %gs value, not our own.