Update.
[glibc.git] / linuxthreads_db / ChangeLog
blobe05a94f9f50ef9d5f97db91850046f1deeaa7437
1 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
3         * td_ta_map_id2thr.c: If thread terminated return TD_NOTHR.
4         * td_thr_validate.c: Likewise.
6 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
8         * td_thr_getfpregs.c: If p_pid is zero use ps_getpid().
9         * td_thr_getgregs.c: Likewise.
10         * td_thr_setfpregs.c: Likewise.
11         * td_thr_setgregs.c: Likewise.
13 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
15         * Makefile (libthread_db-routines): Add td_symbol_list.
16         * Versions [libthread_db] (GLIBC_2.2.3): Add td_symbol_list.
17         * td_symbol_list.c: New file.
18         * thread_db.h: Add prototype for td_symbol_list.
19         * thread_dbP.h: Define symbol name indices.
20         Add prototype for td_lookup.
21         * td_ta_event_addr.c: Use td_lookup instead of directly using
22         ps_pglobal_lookup to find symbol address.
23         * td_ta_get_nthreads.c: Likewise.
24         * td_ta_new.c: Likewise.
26 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
28         * Makefile: When generating DSO link with libc_nonshared.a.
30 2000-08-01  Andreas Jaeger  <aj@suse.de>
32         * Makefile (distribute): Add missing files.
34 2000-04-24  Mark Kettenis  <kettenis@gnu.org>
36         * td_thr_get_info.c (td_thr_get_info): Set ti_state to
37         TD_THR_ACTIVE instead of TD_THR_RUN.  If the thread is no longer
38         running but is still joinable, set it to TD_THR_ZOMBIE.  Otherwise
39         set it to TD_THR_UNKNOWN.
41 2000-02-25  Andreas Jaeger  <aj@suse.de>
43         * td_ta_thr_iter.c: Include <alloca.h> for prototype declaration.
44         * td_ta_tsd_iter.c: Likewise.
46 2000-01-20  Andreas Jaeger  <aj@suse.de>
48         * td_thr_getgregs.c (td_thr_getgregs): Fix typo.
50 2000-01-19  Ulrich Drepper  <drepper@cygnus.com>
52         * td_thr_getgregs.c: Correct size parameter of memset call.
54 1999-12-02  Ulrich Drepper  <drepper@cygnus.com>
56         * proc_service.h: Fix typos in last added declaractions.
58 1999-12-01  Ulrich Drepper  <drepper@cygnus.com>
60         * proc_service.h: Add ps_pstop, ps_pcontinue, ps_lstop, and
61         ps_lcontinue prototypes.
63 1999-11-23  Ulrich Drepper  <drepper@cygnus.com>
65         * Makefile: Correct dependency for shared object.
67 1999-11-22  Ulrich Drepper  <drepper@cygnus.com>
69         * td_ta_map_lwp2thr.c: Add missing brace in comparison.
71         * thread_dbP.h (LOG): Only print message if __td_debug is nonzero.
72         * td_init.c: Add __td_debug.
74 1999-11-12  Ulrich Drepper  <drepper@cygnus.com>
76         * td_ta_thr_iter.c: Start copying list of descriptors from right
77         position in target process.
79         * td_ta_thr_iter.c: Fix loop starting point over all but main and
80         manager thread.
82         * td_ta_thr_iter.c: Read descriptors for main and manager thread
83         special since after this we can assume that no new threads will be
84         created anymore (at least in the gdb implementation).
86         * Makefile: Define version correctly.
88 1999-11-10  Ulrich Drepper  <drepper@cygnus.com>
90         * td_ta_map_lwp2thr.c: If p_pid field is zero, this is before the
91         thread library is initialized and we get the PID from the
92         debugger.
94 1999-11-08  Ulrich Drepper  <drepper@cygnus.com>
96         * td_thr_get_info.c: Make sure ti_lid is never zero.
98         * proc_service.h: Add ps_getpid prototype.
100 1999-11-03  Ulrich Drepper  <drepper@cygnus.com>
102         * thread_dbP.h (ta_ok): New function.
103         * td_ta_new.c: Add new handle to list.
104         * td_ta_delete.c: Remove handle from list.
105         * td_ta_clear_event.c: Use ta_ok to check for correct ta parameter.
106         * td_ta_enable_stats.c: Likewise.
107         * td_ta_event_addr.c: Likewise.
108         * td_ta_event_getmsg.c: Likewise.
109         * td_ta_get_nthreads.c: Likewise.
110         * td_ta_get_ph.c: Likewise.
111         * td_ta_get_stats.c: Likewise.
112         * td_ta_map_id2thr.c: Likewise.
113         * td_ta_map_lwp2thr.c: Likewise.
114         * td_ta_reset_stats.c: Likewise.
115         * td_ta_set_event.c: Likewise.
116         * td_ta_setconcurrency.c: Likewise.
117         * td_ta_thr_iter.c: Likewise.
119         * td_ta_tsd_iter.c: Optimize memory retrieving.
121         * Versions: New file.
123         * td_thr_get_info.c (td_thr_get_info): Initialize ti_traceme.
125 1999-11-02  Ulrich Drepper  <drepper@cygnus.com>
127         * td_ta_thr_iter.c (td_ta_thr_iter): Optimize a bit.  Read all
128         handles at once.
130         * thread_dbP.h (struct th_thragent): Add pthread_handle_num.
131         * td_ta_new.c: Initialize pthread_handle_num.
132         * td_ta_event_getmsg.c: If last event was already reported search
133         for another unreported event.
135         * td_thr_get_info.c (td_thr_get_info): Initialize ti_events.
137         * Makefile (libthread_db-routines): Add td_ta_set_event,
138         td_ta_event_getmsg, and td_ta_clear_event.
139         * td_ta_clear_event.c: New file.
140         * td_ta_event_getmsg.c: New file.
141         * td_ta_new.c: Get address of __pthread_last_event in target.
142         * td_ta_set_event.c: Don't overwrite old mask, set additional bits.
143         * td_thr_set_event.c: Likewise.
144         * td_thr_clear_event.c: Implement.
145         * thread_db.h: Declare td_ta_clear_event and td_ta_event_getmsg.
146         * thread_dbP.h (struct td_thragent): Add pthread_last_event.
148         * td_ta_new.c: Don't test for __pthread_threads_debug.  Get address
149         of __pthread_threads_events and fail if this is not possible.
150         * td_ta_event_addr.c: Implement.
151         * td_thr_event_enable.c: Implement.
152         * td_thr_event_getmsg.c: Implement.
153         * td_thr_set_event.c: Implement.
154         * td_ta_set_event.c: New file.
155         * thread_db.h (td_eventbuf_t): Define.
156         Declare td_ta_set_event.
157         * thread_dbP.h (struct td_thragent): Add pthread_threads_eventsp.
159         * td_thr_getfpregs.c: For terminated threads return empty structure.
160         * td_thr_getgregs.c: Likewise.
161         * td_thr_setfpregs.c: Likewise.
162         * td_thr_setgregs.c: Likewise.
164 1999-11-01  Ulrich Drepper  <drepper@cygnus.com>
166         * thread_db.h: Shuffle types around to make things work for gdb.
167         * thread_dbP.h: Include proc_service.h before thread_db.h.
169         * thread_db.h: It's TD_NOLIBTHREAD, not TD_LIBTHREAD.
170         * td_ta_new.c: Likewise.
172 1999-10-14  Ulrich Drepper  <drepper@cygnus.com>
174         * td_ta_new.c: p_startfct does not exist anymore.
176         * td_thr_get_info.c: Always initialize start function.
178         * td_ta_thr_iter.c: Don't return threads which exited (but are not
179         joined).
181         * td_thr_validate.c: Don't skip manager thread.
183 1999-10-13  Ulrich Drepper  <drepper@cygnus.com>
185         * td_ta_thr_iter.c: Use size of descriptor from *TA.
186         Don't return manager thread before it's actually running.
187         Actually use state parameter to distingusih at least a few states.
189         * td_thr_get_info.c: Handle manager thread special.  Fill in ti_lid,
190         ti_state, and ti_startfunc fields.
192 1999-10-12  Andreas Jaeger  <aj@suse.de>
194         * thread_dbP.h: Include <string.h> for strlen declaration.  Remove
195         __libc_write prototype since this is already declared in
196         linuxthreads/internals.h.
198 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
200         * thread_db.h: Fix comment for ti_type.
202         * td_thr_get_info.c: Initialize ti_type field.
204         * td_ta_thr_iter.c: Also report the manager thread.
206 1999-10-08  Andreas Jaeger  <aj@suse.de>
208         * thread_db.h: Fix typos in comments.
210         * td_ta_get_nthreads.c (td_ta_get_nthreads): Don't hardcode
211         libpthread library name, get it from <gnu/lib-names.h> instead.
212         * td_ta_new.c (td_ta_new): Likewise.
214 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
216         * shlib-versions: New file.
218 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
220         * Makefile: New file.
221         * proc_service.h: New file.
222         * td_init.c: New file.
223         * td_log.c: New file.
224         * td_ta_delete.c: New file.
225         * td_ta_enable_stats.c: New file.
226         * td_ta_event_addr.c: New file.
227         * td_ta_get_nthreads.c: New file.
228         * td_ta_get_ph.c: New file.
229         * td_ta_get_stats.c: New file.
230         * td_ta_map_id2thr.c: New file.
231         * td_ta_map_lwp2thr.c: New file.
232         * td_ta_new.c: New file.
233         * td_ta_reset_stats.c: New file.
234         * td_ta_setconcurrency.c: New file.
235         * td_ta_thr_iter.c: New file.
236         * td_ta_tsd_iter.c: New file.
237         * td_thr_clear_event.c: New file.
238         * td_thr_dbresume.c: New file.
239         * td_thr_dbsuspend.c: New file.
240         * td_thr_event_enable.c: New file.
241         * td_thr_event_getmsg.c: New file.
242         * td_thr_get_info.c: New file.
243         * td_thr_getfpregs.c: New file.
244         * td_thr_getgregs.c: New file.
245         * td_thr_getxregs.c: New file.
246         * td_thr_getxregsize.c: New file.
247         * td_thr_set_event.c: New file.
248         * td_thr_setfpregs.c: New file.
249         * td_thr_setgregs.c: New file.
250         * td_thr_setprio.c: New file.
251         * td_thr_setsigpending.c: New file.
252         * td_thr_setxregs.c: New file.
253         * td_thr_sigsetmask.c: New file.
254         * td_thr_tsd.c: New file.
255         * td_thr_validate.c: New file.
256         * thread_db.h: New file.
257         * thread_dbP.h: New file.