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