1 2000-04-24 Mark Kettenis <kettenis@gnu.org>
3 * td_thr_get_info.c (td_thr_get_info): Set ti_state to
4 TD_THR_ACTIVE instead of TD_THR_RUN. If the thread is no longer
5 running but is still joinable, set it to TD_THR_ZOMBIE. Otherwise
6 set it to TD_THR_UNKNOWN.
8 2000-02-25 Andreas Jaeger <aj@suse.de>
10 * td_ta_thr_iter.c: Include <alloca.h> for prototype declaration.
11 * td_ta_tsd_iter.c: Likewise.
13 2000-01-20 Andreas Jaeger <aj@suse.de>
15 * td_thr_getgregs.c (td_thr_getgregs): Fix typo.
17 2000-01-19 Ulrich Drepper <drepper@cygnus.com>
19 * td_thr_getgregs.c: Correct size parameter of memset call.
21 1999-12-02 Ulrich Drepper <drepper@cygnus.com>
23 * proc_service.h: Fix typos in last added declaractions.
25 1999-12-01 Ulrich Drepper <drepper@cygnus.com>
27 * proc_service.h: Add ps_pstop, ps_pcontinue, ps_lstop, and
28 ps_lcontinue prototypes.
30 1999-11-23 Ulrich Drepper <drepper@cygnus.com>
32 * Makefile: Correct dependency for shared object.
34 1999-11-22 Ulrich Drepper <drepper@cygnus.com>
36 * td_ta_map_lwp2thr.c: Add missing brace in comparison.
38 * thread_dbP.h (LOG): Only print message if __td_debug is nonzero.
39 * td_init.c: Add __td_debug.
41 1999-11-12 Ulrich Drepper <drepper@cygnus.com>
43 * td_ta_thr_iter.c: Start copying list of descriptors from right
44 position in target process.
46 * td_ta_thr_iter.c: Fix loop starting point over all but main and
49 * td_ta_thr_iter.c: Read descriptors for main and manager thread
50 special since after this we can assume that no new threads will be
51 created anymore (at least in the gdb implementation).
53 * Makefile: Define version correctly.
55 1999-11-10 Ulrich Drepper <drepper@cygnus.com>
57 * td_ta_map_lwp2thr.c: If p_pid field is zero, this is before the
58 thread library is initialized and we get the PID from the
61 1999-11-08 Ulrich Drepper <drepper@cygnus.com>
63 * td_thr_get_info.c: Make sure ti_lid is never zero.
65 * proc_service.h: Add ps_getpid prototype.
67 1999-11-03 Ulrich Drepper <drepper@cygnus.com>
69 * thread_dbP.h (ta_ok): New function.
70 * td_ta_new.c: Add new handle to list.
71 * td_ta_delete.c: Remove handle from list.
72 * td_ta_clear_event.c: Use ta_ok to check for correct ta parameter.
73 * td_ta_enable_stats.c: Likewise.
74 * td_ta_event_addr.c: Likewise.
75 * td_ta_event_getmsg.c: Likewise.
76 * td_ta_get_nthreads.c: Likewise.
77 * td_ta_get_ph.c: Likewise.
78 * td_ta_get_stats.c: Likewise.
79 * td_ta_map_id2thr.c: Likewise.
80 * td_ta_map_lwp2thr.c: Likewise.
81 * td_ta_reset_stats.c: Likewise.
82 * td_ta_set_event.c: Likewise.
83 * td_ta_setconcurrency.c: Likewise.
84 * td_ta_thr_iter.c: Likewise.
86 * td_ta_tsd_iter.c: Optimize memory retrieving.
90 * td_thr_get_info.c (td_thr_get_info): Initialize ti_traceme.
92 1999-11-02 Ulrich Drepper <drepper@cygnus.com>
94 * td_ta_thr_iter.c (td_ta_thr_iter): Optimize a bit. Read all
97 * thread_dbP.h (struct th_thragent): Add pthread_handle_num.
98 * td_ta_new.c: Initialize pthread_handle_num.
99 * td_ta_event_getmsg.c: If last event was already reported search
100 for another unreported event.
102 * td_thr_get_info.c (td_thr_get_info): Initialize ti_events.
104 * Makefile (libthread_db-routines): Add td_ta_set_event,
105 td_ta_event_getmsg, and td_ta_clear_event.
106 * td_ta_clear_event.c: New file.
107 * td_ta_event_getmsg.c: New file.
108 * td_ta_new.c: Get address of __pthread_last_event in target.
109 * td_ta_set_event.c: Don't overwrite old mask, set additional bits.
110 * td_thr_set_event.c: Likewise.
111 * td_thr_clear_event.c: Implement.
112 * thread_db.h: Declare td_ta_clear_event and td_ta_event_getmsg.
113 * thread_dbP.h (struct td_thragent): Add pthread_last_event.
115 * td_ta_new.c: Don't test for __pthread_threads_debug. Get address
116 of __pthread_threads_events and fail if this is not possible.
117 * td_ta_event_addr.c: Implement.
118 * td_thr_event_enable.c: Implement.
119 * td_thr_event_getmsg.c: Implement.
120 * td_thr_set_event.c: Implement.
121 * td_ta_set_event.c: New file.
122 * thread_db.h (td_eventbuf_t): Define.
123 Declare td_ta_set_event.
124 * thread_dbP.h (struct td_thragent): Add pthread_threads_eventsp.
126 * td_thr_getfpregs.c: For terminated threads return empty structure.
127 * td_thr_getgregs.c: Likewise.
128 * td_thr_setfpregs.c: Likewise.
129 * td_thr_setgregs.c: Likewise.
131 1999-11-01 Ulrich Drepper <drepper@cygnus.com>
133 * thread_db.h: Shuffle types around to make things work for gdb.
134 * thread_dbP.h: Include proc_service.h before thread_db.h.
136 * thread_db.h: It's TD_NOLIBTHREAD, not TD_LIBTHREAD.
137 * td_ta_new.c: Likewise.
139 1999-10-14 Ulrich Drepper <drepper@cygnus.com>
141 * td_ta_new.c: p_startfct does not exist anymore.
143 * td_thr_get_info.c: Always initialize start function.
145 * td_ta_thr_iter.c: Don't return threads which exited (but are not
148 * td_thr_validate.c: Don't skip manager thread.
150 1999-10-13 Ulrich Drepper <drepper@cygnus.com>
152 * td_ta_thr_iter.c: Use size of descriptor from *TA.
153 Don't return manager thread before it's actually running.
154 Actually use state parameter to distingusih at least a few states.
156 * td_thr_get_info.c: Handle manager thread special. Fill in ti_lid,
157 ti_state, and ti_startfunc fields.
159 1999-10-12 Andreas Jaeger <aj@suse.de>
161 * thread_dbP.h: Include <string.h> for strlen declaration. Remove
162 __libc_write prototype since this is already declared in
163 linuxthreads/internals.h.
165 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
167 * thread_db.h: Fix comment for ti_type.
169 * td_thr_get_info.c: Initialize ti_type field.
171 * td_ta_thr_iter.c: Also report the manager thread.
173 1999-10-08 Andreas Jaeger <aj@suse.de>
175 * thread_db.h: Fix typos in comments.
177 * td_ta_get_nthreads.c (td_ta_get_nthreads): Don't hardcode
178 libpthread library name, get it from <gnu/lib-names.h> instead.
179 * td_ta_new.c (td_ta_new): Likewise.
181 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
183 * shlib-versions: New file.
185 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
187 * Makefile: New file.
188 * proc_service.h: New file.
189 * td_init.c: New file.
190 * td_log.c: New file.
191 * td_ta_delete.c: New file.
192 * td_ta_enable_stats.c: New file.
193 * td_ta_event_addr.c: New file.
194 * td_ta_get_nthreads.c: New file.
195 * td_ta_get_ph.c: New file.
196 * td_ta_get_stats.c: New file.
197 * td_ta_map_id2thr.c: New file.
198 * td_ta_map_lwp2thr.c: New file.
199 * td_ta_new.c: New file.
200 * td_ta_reset_stats.c: New file.
201 * td_ta_setconcurrency.c: New file.
202 * td_ta_thr_iter.c: New file.
203 * td_ta_tsd_iter.c: New file.
204 * td_thr_clear_event.c: New file.
205 * td_thr_dbresume.c: New file.
206 * td_thr_dbsuspend.c: New file.
207 * td_thr_event_enable.c: New file.
208 * td_thr_event_getmsg.c: New file.
209 * td_thr_get_info.c: New file.
210 * td_thr_getfpregs.c: New file.
211 * td_thr_getgregs.c: New file.
212 * td_thr_getxregs.c: New file.
213 * td_thr_getxregsize.c: New file.
214 * td_thr_set_event.c: New file.
215 * td_thr_setfpregs.c: New file.
216 * td_thr_setgregs.c: New file.
217 * td_thr_setprio.c: New file.
218 * td_thr_setsigpending.c: New file.
219 * td_thr_setxregs.c: New file.
220 * td_thr_sigsetmask.c: New file.
221 * td_thr_tsd.c: New file.
222 * td_thr_validate.c: New file.
223 * thread_db.h: New file.
224 * thread_dbP.h: New file.