Update.
[glibc.git] / linuxthreads_db / ChangeLog
bloba869c3c90a3c85e92d0893ae9ae17fd06e076d91
1 2002-08-23  Ulrich Drepper  <drepper@redhat.com>
3         * thread_dbP.h: Define LINUXTHREADS_VERSION.
4         * td_symbol_list.c (symbol_list_arr): Add LINUXTHREADS_VERSION string.
5         * td_ta_new.c (td_ta_new): After verifying the thread library is
6         there check version.
7         * thread_db.h: Add new error TD_VERSION.
9 2002-08-21  Roland McGrath  <roland@redhat.com>
11         * td_thr_tls_get_addr.c (td_thr_tls_get_addr): __attribute_used__ ->
12         __attribute__ ((unused)) for arguments.
14 2002-08-07  Ulrich Drepper  <drepper@redhat.com>
16         * thread_dbP.h: Define LINUXTHREADS_INITIAL_REPORT_EVENTS.
17         * td_thr_event_enable.c (td_thr_event_enable): If th->th_unique is
18         null write to __linuxthreads_initial_report_events.
19         * td_symbol_list.c (symbol_list_arr): Add
20         __linuxthreads_initial_report_events.
22 2002-07-16  Ulrich Drepper  <drepper@redhat.com>
24         * td_thr_clear_event.c: Yet more changes to help with TLS-enabled
25         libpthread.
26         * td_thr_event_enable.c: Likewise.
27         * td_thr_event_getmsg.c: Likewise.
28         * td_thr_set_event.c: Likewise.
29         * td_thr_setfpregs.c: Likewise.
30         * td_thr_setgregs.c: Likewise.
31         * td_thr_tsd.c: Likewise.
32         * td_thr_validate.c: Likewise.
34 2002-07-15  Ulrich Drepper  <drepper@redhat.com>
36         * td_ta_thr_iter.c: Some more changes to enable using TLS-enabled
37         libpthread.
38         * td_thr_event_enable.c: Likewise.
39         * td_thr_getfpregs.c: Likewise.
40         * td_thr_getgregs.c: Likewise.
42 2002-07-14  Ulrich Drepper  <drepper@redhat.com>
44         * td_ta_map_id2thr.c: Begin fixing implementation for libpthread with
45         TLS support.
46         * td_ta_map_lwp2thr.c: Likewise.
47         * td_ta_thr_iter.c: Likewise.
48         * td_thr_get_info.c: Likewise.
50 2002-07-10  Ulrich Drepper  <drepper@redhat.com>
52         * Versions [libthread_db] (GLIBC_2.3): Add td_thr_tls_get_addr.
54 2002-06-14  H.J. Lu  <hjl@gnu.org>
56         * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Don't include
57         "tls.h". Return TD_ERR if USE_TLS is not defined.
59 2002-06-12  Ulrich Drepper  <drepper@redhat.com>
61         * td_thr_tls_get_addr.c: New file.
62         * thread_db.h: Add prototype for td_thr_tls_get_addr.
63         * Makefile (libthread_db-routines): Add td_thr_tls_get_addr.
65 2002-03-03  Andreas Jaeger  <aj@suse.de>
67         * thread_dbP.h: Include <unistd.h> for prototypes of __libc_write.
69 2002-02-04  Ulrich Drepper  <drepper@redhat.com>
71         * thread_dbP.h: Include descr.h instead of internals.h.
72         * td_ta_event_getmsg.c: Also include <linuxthreads/internals.h>.
73         * td_ta_map_id2thr.c: Likewise.
74         * td_ta_map_lwp2thr.c: Likewise.
75         * td_ta_thr_iter.c: Likewise.
76         * td_ta_tsd_iter.c: Likewise.
77         * td_thr_tsd.c: Likewise.
78         * td_thr_validate.c: Likewise.
80 2001-12-28  Andreas Jaeger  <aj@suse.de>
82         * td_init.c (td_init): Don't use __FUNCTION__ as literal.
83         * td_log.c (td_log): Likewise.
84         * td_ta_delete.c (td_ta_delete): Likewise.
85         * td_ta_get_nthreads.c (td_ta_get_nthreads): Likewise.
86         * td_ta_get_ph.c (td_ta_get_ph): Likewise.
87         * td_ta_map_id2thr.c (td_ta_map_id2thr): Likewise.
88         * td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Likewise.
89         * td_ta_new.c (td_ta_new): Likewise.
90         * td_ta_clear_event.c (td_ta_clear_event): Likewise.
91         * td_ta_enable_stats.c (td_ta_enable_stats): Likewise.
92         * td_ta_event_addr.c (td_ta_event_addr): Likewise.
93         * td_ta_event_getmsg.c (td_ta_event_getmsg): Likewise.
94         * td_ta_get_stats.c (td_ta_get_stats): Likewise.
95         * td_ta_reset_stats.c (td_ta_reset_stats): Likewise.
96         * td_ta_set_event.c (td_ta_set_event): Likewise.
97         * td_ta_setconcurrency.c (td_ta_setconcurrency): Likewise.
98         * td_ta_thr_iter.c (td_ta_thr_iter): Likewise.
99         * td_ta_tsd_iter.c (td_ta_tsd_iter): Likewise.
100         * td_thr_clear_event.c (td_thr_clear_event): Likewise.
101         * td_thr_dbresume.c (td_thr_dbresume): Likewise.
102         * td_thr_dbsuspend.c (td_thr_dbsuspend): Likewise.
103         * td_thr_event_enable.c (td_thr_event_enable): Likewise.
104         * td_thr_event_getmsg.c (td_thr_event_getmsg): Likewise.
105         * td_thr_get_info.c (td_thr_get_info): Likewise.
106         * td_thr_getfpregs.c (td_thr_getfpregs): Likewise.
107         * td_thr_getgregs.c (td_thr_getgregs): Likewise.
108         * td_thr_getxregs.c (td_thr_getxregs): Likewise.
109         * td_thr_getxregsize.c (td_thr_getxregsize): Likewise.
110         * td_thr_set_event.c (td_thr_set_event): Likewise.
111         * td_thr_setfpregs.c (td_thr_setfpregs): Likewise.
112         * td_thr_setgregs.c (td_thr_setgregs): Likewise.
113         * td_thr_setprio.c (td_thr_setprio): Likewise.
114         * td_thr_setsigpending.c (td_thr_setsigpending): Likewise.
115         * td_thr_setxregs.c (td_thr_setxregs): Likewise.
116         * td_thr_sigsetmask.c (td_thr_sigsetmask): Likewise.
117         * td_thr_tsd.c (td_thr_tsd): Likewise.
118         * td_thr_validate.c (td_thr_validate): Likewise.
120 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
122         * td_ta_map_id2thr.c: If thread terminated return TD_NOTHR.
123         * td_thr_validate.c: Likewise.
125 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
127         * td_thr_getfpregs.c: If p_pid is zero use ps_getpid().
128         * td_thr_getgregs.c: Likewise.
129         * td_thr_setfpregs.c: Likewise.
130         * td_thr_setgregs.c: Likewise.
132 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
134         * Makefile (libthread_db-routines): Add td_symbol_list.
135         * Versions [libthread_db] (GLIBC_2.2.3): Add td_symbol_list.
136         * td_symbol_list.c: New file.
137         * thread_db.h: Add prototype for td_symbol_list.
138         * thread_dbP.h: Define symbol name indices.
139         Add prototype for td_lookup.
140         * td_ta_event_addr.c: Use td_lookup instead of directly using
141         ps_pglobal_lookup to find symbol address.
142         * td_ta_get_nthreads.c: Likewise.
143         * td_ta_new.c: Likewise.
145 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
147         * Makefile: When generating DSO link with libc_nonshared.a.
149 2000-08-01  Andreas Jaeger  <aj@suse.de>
151         * Makefile (distribute): Add missing files.
153 2000-04-24  Mark Kettenis  <kettenis@gnu.org>
155         * td_thr_get_info.c (td_thr_get_info): Set ti_state to
156         TD_THR_ACTIVE instead of TD_THR_RUN.  If the thread is no longer
157         running but is still joinable, set it to TD_THR_ZOMBIE.  Otherwise
158         set it to TD_THR_UNKNOWN.
160 2000-02-25  Andreas Jaeger  <aj@suse.de>
162         * td_ta_thr_iter.c: Include <alloca.h> for prototype declaration.
163         * td_ta_tsd_iter.c: Likewise.
165 2000-01-20  Andreas Jaeger  <aj@suse.de>
167         * td_thr_getgregs.c (td_thr_getgregs): Fix typo.
169 2000-01-19  Ulrich Drepper  <drepper@cygnus.com>
171         * td_thr_getgregs.c: Correct size parameter of memset call.
173 1999-12-02  Ulrich Drepper  <drepper@cygnus.com>
175         * proc_service.h: Fix typos in last added declaractions.
177 1999-12-01  Ulrich Drepper  <drepper@cygnus.com>
179         * proc_service.h: Add ps_pstop, ps_pcontinue, ps_lstop, and
180         ps_lcontinue prototypes.
182 1999-11-23  Ulrich Drepper  <drepper@cygnus.com>
184         * Makefile: Correct dependency for shared object.
186 1999-11-22  Ulrich Drepper  <drepper@cygnus.com>
188         * td_ta_map_lwp2thr.c: Add missing brace in comparison.
190         * thread_dbP.h (LOG): Only print message if __td_debug is nonzero.
191         * td_init.c: Add __td_debug.
193 1999-11-12  Ulrich Drepper  <drepper@cygnus.com>
195         * td_ta_thr_iter.c: Start copying list of descriptors from right
196         position in target process.
198         * td_ta_thr_iter.c: Fix loop starting point over all but main and
199         manager thread.
201         * td_ta_thr_iter.c: Read descriptors for main and manager thread
202         special since after this we can assume that no new threads will be
203         created anymore (at least in the gdb implementation).
205         * Makefile: Define version correctly.
207 1999-11-10  Ulrich Drepper  <drepper@cygnus.com>
209         * td_ta_map_lwp2thr.c: If p_pid field is zero, this is before the
210         thread library is initialized and we get the PID from the
211         debugger.
213 1999-11-08  Ulrich Drepper  <drepper@cygnus.com>
215         * td_thr_get_info.c: Make sure ti_lid is never zero.
217         * proc_service.h: Add ps_getpid prototype.
219 1999-11-03  Ulrich Drepper  <drepper@cygnus.com>
221         * thread_dbP.h (ta_ok): New function.
222         * td_ta_new.c: Add new handle to list.
223         * td_ta_delete.c: Remove handle from list.
224         * td_ta_clear_event.c: Use ta_ok to check for correct ta parameter.
225         * td_ta_enable_stats.c: Likewise.
226         * td_ta_event_addr.c: Likewise.
227         * td_ta_event_getmsg.c: Likewise.
228         * td_ta_get_nthreads.c: Likewise.
229         * td_ta_get_ph.c: Likewise.
230         * td_ta_get_stats.c: Likewise.
231         * td_ta_map_id2thr.c: Likewise.
232         * td_ta_map_lwp2thr.c: Likewise.
233         * td_ta_reset_stats.c: Likewise.
234         * td_ta_set_event.c: Likewise.
235         * td_ta_setconcurrency.c: Likewise.
236         * td_ta_thr_iter.c: Likewise.
238         * td_ta_tsd_iter.c: Optimize memory retrieving.
240         * Versions: New file.
242         * td_thr_get_info.c (td_thr_get_info): Initialize ti_traceme.
244 1999-11-02  Ulrich Drepper  <drepper@cygnus.com>
246         * td_ta_thr_iter.c (td_ta_thr_iter): Optimize a bit.  Read all
247         handles at once.
249         * thread_dbP.h (struct th_thragent): Add pthread_handle_num.
250         * td_ta_new.c: Initialize pthread_handle_num.
251         * td_ta_event_getmsg.c: If last event was already reported search
252         for another unreported event.
254         * td_thr_get_info.c (td_thr_get_info): Initialize ti_events.
256         * Makefile (libthread_db-routines): Add td_ta_set_event,
257         td_ta_event_getmsg, and td_ta_clear_event.
258         * td_ta_clear_event.c: New file.
259         * td_ta_event_getmsg.c: New file.
260         * td_ta_new.c: Get address of __pthread_last_event in target.
261         * td_ta_set_event.c: Don't overwrite old mask, set additional bits.
262         * td_thr_set_event.c: Likewise.
263         * td_thr_clear_event.c: Implement.
264         * thread_db.h: Declare td_ta_clear_event and td_ta_event_getmsg.
265         * thread_dbP.h (struct td_thragent): Add pthread_last_event.
267         * td_ta_new.c: Don't test for __pthread_threads_debug.  Get address
268         of __pthread_threads_events and fail if this is not possible.
269         * td_ta_event_addr.c: Implement.
270         * td_thr_event_enable.c: Implement.
271         * td_thr_event_getmsg.c: Implement.
272         * td_thr_set_event.c: Implement.
273         * td_ta_set_event.c: New file.
274         * thread_db.h (td_eventbuf_t): Define.
275         Declare td_ta_set_event.
276         * thread_dbP.h (struct td_thragent): Add pthread_threads_eventsp.
278         * td_thr_getfpregs.c: For terminated threads return empty structure.
279         * td_thr_getgregs.c: Likewise.
280         * td_thr_setfpregs.c: Likewise.
281         * td_thr_setgregs.c: Likewise.
283 1999-11-01  Ulrich Drepper  <drepper@cygnus.com>
285         * thread_db.h: Shuffle types around to make things work for gdb.
286         * thread_dbP.h: Include proc_service.h before thread_db.h.
288         * thread_db.h: It's TD_NOLIBTHREAD, not TD_LIBTHREAD.
289         * td_ta_new.c: Likewise.
291 1999-10-14  Ulrich Drepper  <drepper@cygnus.com>
293         * td_ta_new.c: p_startfct does not exist anymore.
295         * td_thr_get_info.c: Always initialize start function.
297         * td_ta_thr_iter.c: Don't return threads which exited (but are not
298         joined).
300         * td_thr_validate.c: Don't skip manager thread.
302 1999-10-13  Ulrich Drepper  <drepper@cygnus.com>
304         * td_ta_thr_iter.c: Use size of descriptor from *TA.
305         Don't return manager thread before it's actually running.
306         Actually use state parameter to distingusih at least a few states.
308         * td_thr_get_info.c: Handle manager thread special.  Fill in ti_lid,
309         ti_state, and ti_startfunc fields.
311 1999-10-12  Andreas Jaeger  <aj@suse.de>
313         * thread_dbP.h: Include <string.h> for strlen declaration.  Remove
314         __libc_write prototype since this is already declared in
315         linuxthreads/internals.h.
317 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
319         * thread_db.h: Fix comment for ti_type.
321         * td_thr_get_info.c: Initialize ti_type field.
323         * td_ta_thr_iter.c: Also report the manager thread.
325 1999-10-08  Andreas Jaeger  <aj@suse.de>
327         * thread_db.h: Fix typos in comments.
329         * td_ta_get_nthreads.c (td_ta_get_nthreads): Don't hardcode
330         libpthread library name, get it from <gnu/lib-names.h> instead.
331         * td_ta_new.c (td_ta_new): Likewise.
333 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
335         * shlib-versions: New file.
337 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
339         * Makefile: New file.
340         * proc_service.h: New file.
341         * td_init.c: New file.
342         * td_log.c: New file.
343         * td_ta_delete.c: New file.
344         * td_ta_enable_stats.c: New file.
345         * td_ta_event_addr.c: New file.
346         * td_ta_get_nthreads.c: New file.
347         * td_ta_get_ph.c: New file.
348         * td_ta_get_stats.c: New file.
349         * td_ta_map_id2thr.c: New file.
350         * td_ta_map_lwp2thr.c: New file.
351         * td_ta_new.c: New file.
352         * td_ta_reset_stats.c: New file.
353         * td_ta_setconcurrency.c: New file.
354         * td_ta_thr_iter.c: New file.
355         * td_ta_tsd_iter.c: New file.
356         * td_thr_clear_event.c: New file.
357         * td_thr_dbresume.c: New file.
358         * td_thr_dbsuspend.c: New file.
359         * td_thr_event_enable.c: New file.
360         * td_thr_event_getmsg.c: New file.
361         * td_thr_get_info.c: New file.
362         * td_thr_getfpregs.c: New file.
363         * td_thr_getgregs.c: New file.
364         * td_thr_getxregs.c: New file.
365         * td_thr_getxregsize.c: New file.
366         * td_thr_set_event.c: New file.
367         * td_thr_setfpregs.c: New file.
368         * td_thr_setgregs.c: New file.
369         * td_thr_setprio.c: New file.
370         * td_thr_setsigpending.c: New file.
371         * td_thr_setxregs.c: New file.
372         * td_thr_sigsetmask.c: New file.
373         * td_thr_tsd.c: New file.
374         * td_thr_validate.c: New file.
375         * thread_db.h: New file.
376         * thread_dbP.h: New file.