Update.
[glibc.git] / linuxthreads_db / ChangeLog
blobd4cf2aaeb719154ae044cd6c5ffcca25b95011d3
1 2002-02-04  Ulrich Drepper  <drepper@redhat.com>
3         * thread_dbP.h: Include descr.h instead of internals.h.
4         * td_ta_event_getmsg.c: Also include <linuxthreads/internals.h>.
5         * td_ta_map_id2thr.c: Likewise.
6         * td_ta_map_lwp2thr.c: Likewise.
7         * td_ta_thr_iter.c: Likewise.
8         * td_ta_tsd_iter.c: Likewise.
9         * td_thr_tsd.c: Likewise.
10         * td_thr_validate.c: Likewise.
12 2001-12-28  Andreas Jaeger  <aj@suse.de>
14         * td_init.c (td_init): Don't use __FUNCTION__ as literal.
15         * td_log.c (td_log): Likewise.
16         * td_ta_delete.c (td_ta_delete): Likewise.
17         * td_ta_get_nthreads.c (td_ta_get_nthreads): Likewise.
18         * td_ta_get_ph.c (td_ta_get_ph): Likewise.
19         * td_ta_map_id2thr.c (td_ta_map_id2thr): Likewise.
20         * td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Likewise.
21         * td_ta_new.c (td_ta_new): Likewise.
22         * td_ta_clear_event.c (td_ta_clear_event): Likewise.
23         * td_ta_enable_stats.c (td_ta_enable_stats): Likewise.
24         * td_ta_event_addr.c (td_ta_event_addr): Likewise.
25         * td_ta_event_getmsg.c (td_ta_event_getmsg): Likewise.
26         * td_ta_get_stats.c (td_ta_get_stats): Likewise.
27         * td_ta_reset_stats.c (td_ta_reset_stats): Likewise.
28         * td_ta_set_event.c (td_ta_set_event): Likewise.
29         * td_ta_setconcurrency.c (td_ta_setconcurrency): Likewise.
30         * td_ta_thr_iter.c (td_ta_thr_iter): Likewise.
31         * td_ta_tsd_iter.c (td_ta_tsd_iter): Likewise.
32         * td_thr_clear_event.c (td_thr_clear_event): Likewise.
33         * td_thr_dbresume.c (td_thr_dbresume): Likewise.
34         * td_thr_dbsuspend.c (td_thr_dbsuspend): Likewise.
35         * td_thr_event_enable.c (td_thr_event_enable): Likewise.
36         * td_thr_event_getmsg.c (td_thr_event_getmsg): Likewise.
37         * td_thr_get_info.c (td_thr_get_info): Likewise.
38         * td_thr_getfpregs.c (td_thr_getfpregs): Likewise.
39         * td_thr_getgregs.c (td_thr_getgregs): Likewise.
40         * td_thr_getxregs.c (td_thr_getxregs): Likewise.
41         * td_thr_getxregsize.c (td_thr_getxregsize): Likewise.
42         * td_thr_set_event.c (td_thr_set_event): Likewise.
43         * td_thr_setfpregs.c (td_thr_setfpregs): Likewise.
44         * td_thr_setgregs.c (td_thr_setgregs): Likewise.
45         * td_thr_setprio.c (td_thr_setprio): Likewise.
46         * td_thr_setsigpending.c (td_thr_setsigpending): Likewise.
47         * td_thr_setxregs.c (td_thr_setxregs): Likewise.
48         * td_thr_sigsetmask.c (td_thr_sigsetmask): Likewise.
49         * td_thr_tsd.c (td_thr_tsd): Likewise.
50         * td_thr_validate.c (td_thr_validate): Likewise.
52 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
54         * td_ta_map_id2thr.c: If thread terminated return TD_NOTHR.
55         * td_thr_validate.c: Likewise.
57 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
59         * td_thr_getfpregs.c: If p_pid is zero use ps_getpid().
60         * td_thr_getgregs.c: Likewise.
61         * td_thr_setfpregs.c: Likewise.
62         * td_thr_setgregs.c: Likewise.
64 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
66         * Makefile (libthread_db-routines): Add td_symbol_list.
67         * Versions [libthread_db] (GLIBC_2.2.3): Add td_symbol_list.
68         * td_symbol_list.c: New file.
69         * thread_db.h: Add prototype for td_symbol_list.
70         * thread_dbP.h: Define symbol name indices.
71         Add prototype for td_lookup.
72         * td_ta_event_addr.c: Use td_lookup instead of directly using
73         ps_pglobal_lookup to find symbol address.
74         * td_ta_get_nthreads.c: Likewise.
75         * td_ta_new.c: Likewise.
77 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
79         * Makefile: When generating DSO link with libc_nonshared.a.
81 2000-08-01  Andreas Jaeger  <aj@suse.de>
83         * Makefile (distribute): Add missing files.
85 2000-04-24  Mark Kettenis  <kettenis@gnu.org>
87         * td_thr_get_info.c (td_thr_get_info): Set ti_state to
88         TD_THR_ACTIVE instead of TD_THR_RUN.  If the thread is no longer
89         running but is still joinable, set it to TD_THR_ZOMBIE.  Otherwise
90         set it to TD_THR_UNKNOWN.
92 2000-02-25  Andreas Jaeger  <aj@suse.de>
94         * td_ta_thr_iter.c: Include <alloca.h> for prototype declaration.
95         * td_ta_tsd_iter.c: Likewise.
97 2000-01-20  Andreas Jaeger  <aj@suse.de>
99         * td_thr_getgregs.c (td_thr_getgregs): Fix typo.
101 2000-01-19  Ulrich Drepper  <drepper@cygnus.com>
103         * td_thr_getgregs.c: Correct size parameter of memset call.
105 1999-12-02  Ulrich Drepper  <drepper@cygnus.com>
107         * proc_service.h: Fix typos in last added declaractions.
109 1999-12-01  Ulrich Drepper  <drepper@cygnus.com>
111         * proc_service.h: Add ps_pstop, ps_pcontinue, ps_lstop, and
112         ps_lcontinue prototypes.
114 1999-11-23  Ulrich Drepper  <drepper@cygnus.com>
116         * Makefile: Correct dependency for shared object.
118 1999-11-22  Ulrich Drepper  <drepper@cygnus.com>
120         * td_ta_map_lwp2thr.c: Add missing brace in comparison.
122         * thread_dbP.h (LOG): Only print message if __td_debug is nonzero.
123         * td_init.c: Add __td_debug.
125 1999-11-12  Ulrich Drepper  <drepper@cygnus.com>
127         * td_ta_thr_iter.c: Start copying list of descriptors from right
128         position in target process.
130         * td_ta_thr_iter.c: Fix loop starting point over all but main and
131         manager thread.
133         * td_ta_thr_iter.c: Read descriptors for main and manager thread
134         special since after this we can assume that no new threads will be
135         created anymore (at least in the gdb implementation).
137         * Makefile: Define version correctly.
139 1999-11-10  Ulrich Drepper  <drepper@cygnus.com>
141         * td_ta_map_lwp2thr.c: If p_pid field is zero, this is before the
142         thread library is initialized and we get the PID from the
143         debugger.
145 1999-11-08  Ulrich Drepper  <drepper@cygnus.com>
147         * td_thr_get_info.c: Make sure ti_lid is never zero.
149         * proc_service.h: Add ps_getpid prototype.
151 1999-11-03  Ulrich Drepper  <drepper@cygnus.com>
153         * thread_dbP.h (ta_ok): New function.
154         * td_ta_new.c: Add new handle to list.
155         * td_ta_delete.c: Remove handle from list.
156         * td_ta_clear_event.c: Use ta_ok to check for correct ta parameter.
157         * td_ta_enable_stats.c: Likewise.
158         * td_ta_event_addr.c: Likewise.
159         * td_ta_event_getmsg.c: Likewise.
160         * td_ta_get_nthreads.c: Likewise.
161         * td_ta_get_ph.c: Likewise.
162         * td_ta_get_stats.c: Likewise.
163         * td_ta_map_id2thr.c: Likewise.
164         * td_ta_map_lwp2thr.c: Likewise.
165         * td_ta_reset_stats.c: Likewise.
166         * td_ta_set_event.c: Likewise.
167         * td_ta_setconcurrency.c: Likewise.
168         * td_ta_thr_iter.c: Likewise.
170         * td_ta_tsd_iter.c: Optimize memory retrieving.
172         * Versions: New file.
174         * td_thr_get_info.c (td_thr_get_info): Initialize ti_traceme.
176 1999-11-02  Ulrich Drepper  <drepper@cygnus.com>
178         * td_ta_thr_iter.c (td_ta_thr_iter): Optimize a bit.  Read all
179         handles at once.
181         * thread_dbP.h (struct th_thragent): Add pthread_handle_num.
182         * td_ta_new.c: Initialize pthread_handle_num.
183         * td_ta_event_getmsg.c: If last event was already reported search
184         for another unreported event.
186         * td_thr_get_info.c (td_thr_get_info): Initialize ti_events.
188         * Makefile (libthread_db-routines): Add td_ta_set_event,
189         td_ta_event_getmsg, and td_ta_clear_event.
190         * td_ta_clear_event.c: New file.
191         * td_ta_event_getmsg.c: New file.
192         * td_ta_new.c: Get address of __pthread_last_event in target.
193         * td_ta_set_event.c: Don't overwrite old mask, set additional bits.
194         * td_thr_set_event.c: Likewise.
195         * td_thr_clear_event.c: Implement.
196         * thread_db.h: Declare td_ta_clear_event and td_ta_event_getmsg.
197         * thread_dbP.h (struct td_thragent): Add pthread_last_event.
199         * td_ta_new.c: Don't test for __pthread_threads_debug.  Get address
200         of __pthread_threads_events and fail if this is not possible.
201         * td_ta_event_addr.c: Implement.
202         * td_thr_event_enable.c: Implement.
203         * td_thr_event_getmsg.c: Implement.
204         * td_thr_set_event.c: Implement.
205         * td_ta_set_event.c: New file.
206         * thread_db.h (td_eventbuf_t): Define.
207         Declare td_ta_set_event.
208         * thread_dbP.h (struct td_thragent): Add pthread_threads_eventsp.
210         * td_thr_getfpregs.c: For terminated threads return empty structure.
211         * td_thr_getgregs.c: Likewise.
212         * td_thr_setfpregs.c: Likewise.
213         * td_thr_setgregs.c: Likewise.
215 1999-11-01  Ulrich Drepper  <drepper@cygnus.com>
217         * thread_db.h: Shuffle types around to make things work for gdb.
218         * thread_dbP.h: Include proc_service.h before thread_db.h.
220         * thread_db.h: It's TD_NOLIBTHREAD, not TD_LIBTHREAD.
221         * td_ta_new.c: Likewise.
223 1999-10-14  Ulrich Drepper  <drepper@cygnus.com>
225         * td_ta_new.c: p_startfct does not exist anymore.
227         * td_thr_get_info.c: Always initialize start function.
229         * td_ta_thr_iter.c: Don't return threads which exited (but are not
230         joined).
232         * td_thr_validate.c: Don't skip manager thread.
234 1999-10-13  Ulrich Drepper  <drepper@cygnus.com>
236         * td_ta_thr_iter.c: Use size of descriptor from *TA.
237         Don't return manager thread before it's actually running.
238         Actually use state parameter to distingusih at least a few states.
240         * td_thr_get_info.c: Handle manager thread special.  Fill in ti_lid,
241         ti_state, and ti_startfunc fields.
243 1999-10-12  Andreas Jaeger  <aj@suse.de>
245         * thread_dbP.h: Include <string.h> for strlen declaration.  Remove
246         __libc_write prototype since this is already declared in
247         linuxthreads/internals.h.
249 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
251         * thread_db.h: Fix comment for ti_type.
253         * td_thr_get_info.c: Initialize ti_type field.
255         * td_ta_thr_iter.c: Also report the manager thread.
257 1999-10-08  Andreas Jaeger  <aj@suse.de>
259         * thread_db.h: Fix typos in comments.
261         * td_ta_get_nthreads.c (td_ta_get_nthreads): Don't hardcode
262         libpthread library name, get it from <gnu/lib-names.h> instead.
263         * td_ta_new.c (td_ta_new): Likewise.
265 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
267         * shlib-versions: New file.
269 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
271         * Makefile: New file.
272         * proc_service.h: New file.
273         * td_init.c: New file.
274         * td_log.c: New file.
275         * td_ta_delete.c: New file.
276         * td_ta_enable_stats.c: New file.
277         * td_ta_event_addr.c: New file.
278         * td_ta_get_nthreads.c: New file.
279         * td_ta_get_ph.c: New file.
280         * td_ta_get_stats.c: New file.
281         * td_ta_map_id2thr.c: New file.
282         * td_ta_map_lwp2thr.c: New file.
283         * td_ta_new.c: New file.
284         * td_ta_reset_stats.c: New file.
285         * td_ta_setconcurrency.c: New file.
286         * td_ta_thr_iter.c: New file.
287         * td_ta_tsd_iter.c: New file.
288         * td_thr_clear_event.c: New file.
289         * td_thr_dbresume.c: New file.
290         * td_thr_dbsuspend.c: New file.
291         * td_thr_event_enable.c: New file.
292         * td_thr_event_getmsg.c: New file.
293         * td_thr_get_info.c: New file.
294         * td_thr_getfpregs.c: New file.
295         * td_thr_getgregs.c: New file.
296         * td_thr_getxregs.c: New file.
297         * td_thr_getxregsize.c: New file.
298         * td_thr_set_event.c: New file.
299         * td_thr_setfpregs.c: New file.
300         * td_thr_setgregs.c: New file.
301         * td_thr_setprio.c: New file.
302         * td_thr_setsigpending.c: New file.
303         * td_thr_setxregs.c: New file.
304         * td_thr_sigsetmask.c: New file.
305         * td_thr_tsd.c: New file.
306         * td_thr_validate.c: New file.
307         * thread_db.h: New file.
308         * thread_dbP.h: New file.