Update.
[glibc.git] / linuxthreads_db / ChangeLog
blobddeb9e3b810298c00fedef9b00da397cc0d9d9cf
1 2002-09-28  Andreas Jaeger  <aj@suse.de>
3         * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Fix reference to dtv.
5 2002-09-24  Roland McGrath  <roland@redhat.com>
7         * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Fetch just the
8         individual members we need, not the whole structures.
10 2002-09-24  Ulrich Drepper  <drepper@redhat.com>
12         * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Change second
13         parameter to be the address of the link map in the inferior process.
14         * thread_db.h: Update prototype for td_thr_tls_get_addr.
16 2002-08-23  Ulrich Drepper  <drepper@redhat.com>
18         * thread_dbP.h: Define LINUXTHREADS_VERSION.
19         * td_symbol_list.c (symbol_list_arr): Add LINUXTHREADS_VERSION string.
20         * td_ta_new.c (td_ta_new): After verifying the thread library is
21         there check version.
22         * thread_db.h: Add new error TD_VERSION.
24 2002-08-21  Roland McGrath  <roland@redhat.com>
26         * td_thr_tls_get_addr.c (td_thr_tls_get_addr): __attribute_used__ ->
27         __attribute__ ((unused)) for arguments.
29 2002-08-07  Ulrich Drepper  <drepper@redhat.com>
31         * thread_dbP.h: Define LINUXTHREADS_INITIAL_REPORT_EVENTS.
32         * td_thr_event_enable.c (td_thr_event_enable): If th->th_unique is
33         null write to __linuxthreads_initial_report_events.
34         * td_symbol_list.c (symbol_list_arr): Add
35         __linuxthreads_initial_report_events.
37 2002-07-16  Ulrich Drepper  <drepper@redhat.com>
39         * td_thr_clear_event.c: Yet more changes to help with TLS-enabled
40         libpthread.
41         * td_thr_event_enable.c: Likewise.
42         * td_thr_event_getmsg.c: Likewise.
43         * td_thr_set_event.c: Likewise.
44         * td_thr_setfpregs.c: Likewise.
45         * td_thr_setgregs.c: Likewise.
46         * td_thr_tsd.c: Likewise.
47         * td_thr_validate.c: Likewise.
49 2002-07-15  Ulrich Drepper  <drepper@redhat.com>
51         * td_ta_thr_iter.c: Some more changes to enable using TLS-enabled
52         libpthread.
53         * td_thr_event_enable.c: Likewise.
54         * td_thr_getfpregs.c: Likewise.
55         * td_thr_getgregs.c: Likewise.
57 2002-07-14  Ulrich Drepper  <drepper@redhat.com>
59         * td_ta_map_id2thr.c: Begin fixing implementation for libpthread with
60         TLS support.
61         * td_ta_map_lwp2thr.c: Likewise.
62         * td_ta_thr_iter.c: Likewise.
63         * td_thr_get_info.c: Likewise.
65 2002-07-10  Ulrich Drepper  <drepper@redhat.com>
67         * Versions [libthread_db] (GLIBC_2.3): Add td_thr_tls_get_addr.
69 2002-06-14  H.J. Lu  <hjl@gnu.org>
71         * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Don't include
72         "tls.h". Return TD_ERR if USE_TLS is not defined.
74 2002-06-12  Ulrich Drepper  <drepper@redhat.com>
76         * td_thr_tls_get_addr.c: New file.
77         * thread_db.h: Add prototype for td_thr_tls_get_addr.
78         * Makefile (libthread_db-routines): Add td_thr_tls_get_addr.
80 2002-03-03  Andreas Jaeger  <aj@suse.de>
82         * thread_dbP.h: Include <unistd.h> for prototypes of __libc_write.
84 2002-02-04  Ulrich Drepper  <drepper@redhat.com>
86         * thread_dbP.h: Include descr.h instead of internals.h.
87         * td_ta_event_getmsg.c: Also include <linuxthreads/internals.h>.
88         * td_ta_map_id2thr.c: Likewise.
89         * td_ta_map_lwp2thr.c: Likewise.
90         * td_ta_thr_iter.c: Likewise.
91         * td_ta_tsd_iter.c: Likewise.
92         * td_thr_tsd.c: Likewise.
93         * td_thr_validate.c: Likewise.
95 2001-12-28  Andreas Jaeger  <aj@suse.de>
97         * td_init.c (td_init): Don't use __FUNCTION__ as literal.
98         * td_log.c (td_log): Likewise.
99         * td_ta_delete.c (td_ta_delete): Likewise.
100         * td_ta_get_nthreads.c (td_ta_get_nthreads): Likewise.
101         * td_ta_get_ph.c (td_ta_get_ph): Likewise.
102         * td_ta_map_id2thr.c (td_ta_map_id2thr): Likewise.
103         * td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Likewise.
104         * td_ta_new.c (td_ta_new): Likewise.
105         * td_ta_clear_event.c (td_ta_clear_event): Likewise.
106         * td_ta_enable_stats.c (td_ta_enable_stats): Likewise.
107         * td_ta_event_addr.c (td_ta_event_addr): Likewise.
108         * td_ta_event_getmsg.c (td_ta_event_getmsg): Likewise.
109         * td_ta_get_stats.c (td_ta_get_stats): Likewise.
110         * td_ta_reset_stats.c (td_ta_reset_stats): Likewise.
111         * td_ta_set_event.c (td_ta_set_event): Likewise.
112         * td_ta_setconcurrency.c (td_ta_setconcurrency): Likewise.
113         * td_ta_thr_iter.c (td_ta_thr_iter): Likewise.
114         * td_ta_tsd_iter.c (td_ta_tsd_iter): Likewise.
115         * td_thr_clear_event.c (td_thr_clear_event): Likewise.
116         * td_thr_dbresume.c (td_thr_dbresume): Likewise.
117         * td_thr_dbsuspend.c (td_thr_dbsuspend): Likewise.
118         * td_thr_event_enable.c (td_thr_event_enable): Likewise.
119         * td_thr_event_getmsg.c (td_thr_event_getmsg): Likewise.
120         * td_thr_get_info.c (td_thr_get_info): Likewise.
121         * td_thr_getfpregs.c (td_thr_getfpregs): Likewise.
122         * td_thr_getgregs.c (td_thr_getgregs): Likewise.
123         * td_thr_getxregs.c (td_thr_getxregs): Likewise.
124         * td_thr_getxregsize.c (td_thr_getxregsize): Likewise.
125         * td_thr_set_event.c (td_thr_set_event): Likewise.
126         * td_thr_setfpregs.c (td_thr_setfpregs): Likewise.
127         * td_thr_setgregs.c (td_thr_setgregs): Likewise.
128         * td_thr_setprio.c (td_thr_setprio): Likewise.
129         * td_thr_setsigpending.c (td_thr_setsigpending): Likewise.
130         * td_thr_setxregs.c (td_thr_setxregs): Likewise.
131         * td_thr_sigsetmask.c (td_thr_sigsetmask): Likewise.
132         * td_thr_tsd.c (td_thr_tsd): Likewise.
133         * td_thr_validate.c (td_thr_validate): Likewise.
135 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
137         * td_ta_map_id2thr.c: If thread terminated return TD_NOTHR.
138         * td_thr_validate.c: Likewise.
140 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
142         * td_thr_getfpregs.c: If p_pid is zero use ps_getpid().
143         * td_thr_getgregs.c: Likewise.
144         * td_thr_setfpregs.c: Likewise.
145         * td_thr_setgregs.c: Likewise.
147 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
149         * Makefile (libthread_db-routines): Add td_symbol_list.
150         * Versions [libthread_db] (GLIBC_2.2.3): Add td_symbol_list.
151         * td_symbol_list.c: New file.
152         * thread_db.h: Add prototype for td_symbol_list.
153         * thread_dbP.h: Define symbol name indices.
154         Add prototype for td_lookup.
155         * td_ta_event_addr.c: Use td_lookup instead of directly using
156         ps_pglobal_lookup to find symbol address.
157         * td_ta_get_nthreads.c: Likewise.
158         * td_ta_new.c: Likewise.
160 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
162         * Makefile: When generating DSO link with libc_nonshared.a.
164 2000-08-01  Andreas Jaeger  <aj@suse.de>
166         * Makefile (distribute): Add missing files.
168 2000-04-24  Mark Kettenis  <kettenis@gnu.org>
170         * td_thr_get_info.c (td_thr_get_info): Set ti_state to
171         TD_THR_ACTIVE instead of TD_THR_RUN.  If the thread is no longer
172         running but is still joinable, set it to TD_THR_ZOMBIE.  Otherwise
173         set it to TD_THR_UNKNOWN.
175 2000-02-25  Andreas Jaeger  <aj@suse.de>
177         * td_ta_thr_iter.c: Include <alloca.h> for prototype declaration.
178         * td_ta_tsd_iter.c: Likewise.
180 2000-01-20  Andreas Jaeger  <aj@suse.de>
182         * td_thr_getgregs.c (td_thr_getgregs): Fix typo.
184 2000-01-19  Ulrich Drepper  <drepper@cygnus.com>
186         * td_thr_getgregs.c: Correct size parameter of memset call.
188 1999-12-02  Ulrich Drepper  <drepper@cygnus.com>
190         * proc_service.h: Fix typos in last added declaractions.
192 1999-12-01  Ulrich Drepper  <drepper@cygnus.com>
194         * proc_service.h: Add ps_pstop, ps_pcontinue, ps_lstop, and
195         ps_lcontinue prototypes.
197 1999-11-23  Ulrich Drepper  <drepper@cygnus.com>
199         * Makefile: Correct dependency for shared object.
201 1999-11-22  Ulrich Drepper  <drepper@cygnus.com>
203         * td_ta_map_lwp2thr.c: Add missing brace in comparison.
205         * thread_dbP.h (LOG): Only print message if __td_debug is nonzero.
206         * td_init.c: Add __td_debug.
208 1999-11-12  Ulrich Drepper  <drepper@cygnus.com>
210         * td_ta_thr_iter.c: Start copying list of descriptors from right
211         position in target process.
213         * td_ta_thr_iter.c: Fix loop starting point over all but main and
214         manager thread.
216         * td_ta_thr_iter.c: Read descriptors for main and manager thread
217         special since after this we can assume that no new threads will be
218         created anymore (at least in the gdb implementation).
220         * Makefile: Define version correctly.
222 1999-11-10  Ulrich Drepper  <drepper@cygnus.com>
224         * td_ta_map_lwp2thr.c: If p_pid field is zero, this is before the
225         thread library is initialized and we get the PID from the
226         debugger.
228 1999-11-08  Ulrich Drepper  <drepper@cygnus.com>
230         * td_thr_get_info.c: Make sure ti_lid is never zero.
232         * proc_service.h: Add ps_getpid prototype.
234 1999-11-03  Ulrich Drepper  <drepper@cygnus.com>
236         * thread_dbP.h (ta_ok): New function.
237         * td_ta_new.c: Add new handle to list.
238         * td_ta_delete.c: Remove handle from list.
239         * td_ta_clear_event.c: Use ta_ok to check for correct ta parameter.
240         * td_ta_enable_stats.c: Likewise.
241         * td_ta_event_addr.c: Likewise.
242         * td_ta_event_getmsg.c: Likewise.
243         * td_ta_get_nthreads.c: Likewise.
244         * td_ta_get_ph.c: Likewise.
245         * td_ta_get_stats.c: Likewise.
246         * td_ta_map_id2thr.c: Likewise.
247         * td_ta_map_lwp2thr.c: Likewise.
248         * td_ta_reset_stats.c: Likewise.
249         * td_ta_set_event.c: Likewise.
250         * td_ta_setconcurrency.c: Likewise.
251         * td_ta_thr_iter.c: Likewise.
253         * td_ta_tsd_iter.c: Optimize memory retrieving.
255         * Versions: New file.
257         * td_thr_get_info.c (td_thr_get_info): Initialize ti_traceme.
259 1999-11-02  Ulrich Drepper  <drepper@cygnus.com>
261         * td_ta_thr_iter.c (td_ta_thr_iter): Optimize a bit.  Read all
262         handles at once.
264         * thread_dbP.h (struct th_thragent): Add pthread_handle_num.
265         * td_ta_new.c: Initialize pthread_handle_num.
266         * td_ta_event_getmsg.c: If last event was already reported search
267         for another unreported event.
269         * td_thr_get_info.c (td_thr_get_info): Initialize ti_events.
271         * Makefile (libthread_db-routines): Add td_ta_set_event,
272         td_ta_event_getmsg, and td_ta_clear_event.
273         * td_ta_clear_event.c: New file.
274         * td_ta_event_getmsg.c: New file.
275         * td_ta_new.c: Get address of __pthread_last_event in target.
276         * td_ta_set_event.c: Don't overwrite old mask, set additional bits.
277         * td_thr_set_event.c: Likewise.
278         * td_thr_clear_event.c: Implement.
279         * thread_db.h: Declare td_ta_clear_event and td_ta_event_getmsg.
280         * thread_dbP.h (struct td_thragent): Add pthread_last_event.
282         * td_ta_new.c: Don't test for __pthread_threads_debug.  Get address
283         of __pthread_threads_events and fail if this is not possible.
284         * td_ta_event_addr.c: Implement.
285         * td_thr_event_enable.c: Implement.
286         * td_thr_event_getmsg.c: Implement.
287         * td_thr_set_event.c: Implement.
288         * td_ta_set_event.c: New file.
289         * thread_db.h (td_eventbuf_t): Define.
290         Declare td_ta_set_event.
291         * thread_dbP.h (struct td_thragent): Add pthread_threads_eventsp.
293         * td_thr_getfpregs.c: For terminated threads return empty structure.
294         * td_thr_getgregs.c: Likewise.
295         * td_thr_setfpregs.c: Likewise.
296         * td_thr_setgregs.c: Likewise.
298 1999-11-01  Ulrich Drepper  <drepper@cygnus.com>
300         * thread_db.h: Shuffle types around to make things work for gdb.
301         * thread_dbP.h: Include proc_service.h before thread_db.h.
303         * thread_db.h: It's TD_NOLIBTHREAD, not TD_LIBTHREAD.
304         * td_ta_new.c: Likewise.
306 1999-10-14  Ulrich Drepper  <drepper@cygnus.com>
308         * td_ta_new.c: p_startfct does not exist anymore.
310         * td_thr_get_info.c: Always initialize start function.
312         * td_ta_thr_iter.c: Don't return threads which exited (but are not
313         joined).
315         * td_thr_validate.c: Don't skip manager thread.
317 1999-10-13  Ulrich Drepper  <drepper@cygnus.com>
319         * td_ta_thr_iter.c: Use size of descriptor from *TA.
320         Don't return manager thread before it's actually running.
321         Actually use state parameter to distingusih at least a few states.
323         * td_thr_get_info.c: Handle manager thread special.  Fill in ti_lid,
324         ti_state, and ti_startfunc fields.
326 1999-10-12  Andreas Jaeger  <aj@suse.de>
328         * thread_dbP.h: Include <string.h> for strlen declaration.  Remove
329         __libc_write prototype since this is already declared in
330         linuxthreads/internals.h.
332 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
334         * thread_db.h: Fix comment for ti_type.
336         * td_thr_get_info.c: Initialize ti_type field.
338         * td_ta_thr_iter.c: Also report the manager thread.
340 1999-10-08  Andreas Jaeger  <aj@suse.de>
342         * thread_db.h: Fix typos in comments.
344         * td_ta_get_nthreads.c (td_ta_get_nthreads): Don't hardcode
345         libpthread library name, get it from <gnu/lib-names.h> instead.
346         * td_ta_new.c (td_ta_new): Likewise.
348 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
350         * shlib-versions: New file.
352 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
354         * Makefile: New file.
355         * proc_service.h: New file.
356         * td_init.c: New file.
357         * td_log.c: New file.
358         * td_ta_delete.c: New file.
359         * td_ta_enable_stats.c: New file.
360         * td_ta_event_addr.c: New file.
361         * td_ta_get_nthreads.c: New file.
362         * td_ta_get_ph.c: New file.
363         * td_ta_get_stats.c: New file.
364         * td_ta_map_id2thr.c: New file.
365         * td_ta_map_lwp2thr.c: New file.
366         * td_ta_new.c: New file.
367         * td_ta_reset_stats.c: New file.
368         * td_ta_setconcurrency.c: New file.
369         * td_ta_thr_iter.c: New file.
370         * td_ta_tsd_iter.c: New file.
371         * td_thr_clear_event.c: New file.
372         * td_thr_dbresume.c: New file.
373         * td_thr_dbsuspend.c: New file.
374         * td_thr_event_enable.c: New file.
375         * td_thr_event_getmsg.c: New file.
376         * td_thr_get_info.c: New file.
377         * td_thr_getfpregs.c: New file.
378         * td_thr_getgregs.c: New file.
379         * td_thr_getxregs.c: New file.
380         * td_thr_getxregsize.c: New file.
381         * td_thr_set_event.c: New file.
382         * td_thr_setfpregs.c: New file.
383         * td_thr_setgregs.c: New file.
384         * td_thr_setprio.c: New file.
385         * td_thr_setsigpending.c: New file.
386         * td_thr_setxregs.c: New file.
387         * td_thr_sigsetmask.c: New file.
388         * td_thr_tsd.c: New file.
389         * td_thr_validate.c: New file.
390         * thread_db.h: New file.
391         * thread_dbP.h: New file.