2 td_init.c:30: error: parse error before string constant
3 td_init.c:30: error: parse error before string constant
5 From http://sources.redhat.com/ml/crossgcc/2005-01/msg00106.html :
7 Date: Mon, 31 Jan 2005 10:27:32 -0800
8 Message-ID: <BF124E1E7928E546B5705D93C699ABDC0C7E99@glimmer.glimmerglassnet.com>
9 From: "Vince Chen" <chen at glimmerglass dot com>
10 To: <crossgcc at sources dot redhat dot com>
12 I needed to build glibc-2.2.2 using gcc-3.x to support
13 some of our older redhat machines.
15 This file patches glibc-linuxthreads-2.2.2.
17 When using crosstool, I placed it in:
19 patches/glibc-linuxthreads-2.2.2/linuxthreads-gcc3.patch
21 (you also need the glibc-gcc3.patch)
25 [removed parts already in threadparam.patch]
27 ===================================================================
28 --- glibc-2.2.2/linuxthreads_db.orig/td_init.c 1999-11-22 12:52:34.000000000 -0800
29 +++ glibc-2.2.2/linuxthreads_db/td_init.c 2005-01-27 19:05:36.000000000 -0800
33 /* XXX We have to figure out what has to be done. */
38 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_log.c glibc-2.2.2/linuxthreads_db/td_log.c
39 --- glibc-2.2.2/linuxthreads_db.orig/td_log.c 1999-10-07 23:31:32.000000000 -0700
40 +++ glibc-2.2.2/linuxthreads_db/td_log.c 2005-01-27 19:05:29.000000000 -0800
42 /* This interface is deprecated in the Sun interface. We provide it
43 for compatibility but don't do anyhting ourself. We might in
44 future do some logging if this seems reasonable. */
49 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_ta_clear_event.c glibc-2.2.2/linuxthreads_db/td_ta_clear_event.c
50 --- glibc-2.2.2/linuxthreads_db.orig/td_ta_clear_event.c 1999-11-08 14:52:10.000000000 -0800
51 +++ glibc-2.2.2/linuxthreads_db/td_ta_clear_event.c 2005-01-27 19:05:20.000000000 -0800
56 -td_ta_clear_event (ta, event)
57 - const td_thragent_t *ta;
58 - td_thr_events_t *event;
59 +td_ta_clear_event (const td_thragent_t *ta, td_thr_events_t *event)
61 td_thr_events_t old_event;
65 + LOG ("td_ta_clear_event");
67 /* Test whether the TA parameter is ok. */
69 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_ta_delete.c glibc-2.2.2/linuxthreads_db/td_ta_delete.c
70 --- glibc-2.2.2/linuxthreads_db.orig/td_ta_delete.c 1999-11-08 14:52:10.000000000 -0800
71 +++ glibc-2.2.2/linuxthreads_db/td_ta_delete.c 2005-01-27 19:04:59.000000000 -0800
74 td_ta_delete (td_thragent_t *ta)
77 + LOG ("td_ta_delete");
80 if (ta == NULL || __td_agent_list == NULL)
81 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_ta_enable_stats.c glibc-2.2.2/linuxthreads_db/td_ta_enable_stats.c
82 --- glibc-2.2.2/linuxthreads_db.orig/td_ta_enable_stats.c 1999-11-08 14:52:10.000000000 -0800
83 +++ glibc-2.2.2/linuxthreads_db/td_ta_enable_stats.c 2005-01-27 19:04:50.000000000 -0800
85 td_ta_enable_stats (const td_thragent_t *ta, int enable)
87 /* XXX We have to figure out what has to be done. */
89 + LOG ("td_ta_enable_stats");
91 /* Test whether the TA parameter is ok. */
93 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_ta_event_addr.c glibc-2.2.2/linuxthreads_db/td_ta_event_addr.c
94 --- glibc-2.2.2/linuxthreads_db.orig/td_ta_event_addr.c 1999-11-08 14:52:10.000000000 -0800
95 +++ glibc-2.2.2/linuxthreads_db/td_ta_event_addr.c 2005-01-27 19:04:41.000000000 -0800
97 td_err_e res = TD_NOEVENT;
98 const char *symbol = NULL;
100 - LOG (__FUNCTION__);
101 + LOG ("td_ta_event_addr");
103 /* Test whether the TA parameter is ok. */
105 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_ta_event_getmsg.c glibc-2.2.2/linuxthreads_db/td_ta_event_getmsg.c
106 --- glibc-2.2.2/linuxthreads_db.orig/td_ta_event_getmsg.c 1999-11-08 14:52:10.000000000 -0800
107 +++ glibc-2.2.2/linuxthreads_db/td_ta_event_getmsg.c 2005-01-27 19:04:33.000000000 -0800
112 - LOG (__FUNCTION__);
113 + LOG ("td_ta_event_getmsg");
115 /* Test whether the TA parameter is ok. */
117 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_ta_get_nthreads.c glibc-2.2.2/linuxthreads_db/td_ta_get_nthreads.c
118 --- glibc-2.2.2/linuxthreads_db.orig/td_ta_get_nthreads.c 1999-11-08 14:52:10.000000000 -0800
119 +++ glibc-2.2.2/linuxthreads_db/td_ta_get_nthreads.c 2005-01-27 19:04:25.000000000 -0800
124 - LOG (__FUNCTION__);
125 + LOG ("td_ta_get_nthreads");
127 /* Test whether the TA parameter is ok. */
129 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_ta_get_ph.c glibc-2.2.2/linuxthreads_db/td_ta_get_ph.c
130 --- glibc-2.2.2/linuxthreads_db.orig/td_ta_get_ph.c 1999-11-08 14:52:10.000000000 -0800
131 +++ glibc-2.2.2/linuxthreads_db/td_ta_get_ph.c 2005-01-27 19:04:17.000000000 -0800
134 td_ta_get_ph (const td_thragent_t *ta, struct ps_prochandle **ph)
136 - LOG (__FUNCTION__);
137 + LOG ("td_ta_get_ph");
139 /* Test whether the TA parameter is ok. */
141 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_ta_get_stats.c glibc-2.2.2/linuxthreads_db/td_ta_get_stats.c
142 --- glibc-2.2.2/linuxthreads_db.orig/td_ta_get_stats.c 1999-11-08 14:52:10.000000000 -0800
143 +++ glibc-2.2.2/linuxthreads_db/td_ta_get_stats.c 2005-01-27 19:04:06.000000000 -0800
145 td_ta_get_stats (const td_thragent_t *ta, td_ta_stats_t *statsp)
147 /* XXX We have to figure out what has to be done. */
148 - LOG (__FUNCTION__);
149 + LOG ("td_ta_get_stats");
151 /* Test whether the TA parameter is ok. */
153 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_ta_map_id2thr.c glibc-2.2.2/linuxthreads_db/td_ta_map_id2thr.c
154 --- glibc-2.2.2/linuxthreads_db.orig/td_ta_map_id2thr.c 1999-11-08 14:52:10.000000000 -0800
155 +++ glibc-2.2.2/linuxthreads_db/td_ta_map_id2thr.c 2005-01-27 19:03:54.000000000 -0800
157 struct _pthread_descr_struct pds;
158 int pthread_threads_max;
160 - LOG (__FUNCTION__);
161 + LOG ("td_ta_map_id2thr");
163 /* Test whether the TA parameter is ok. */
165 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_ta_map_lwp2thr.c glibc-2.2.2/linuxthreads_db/td_ta_map_lwp2thr.c
166 --- glibc-2.2.2/linuxthreads_db.orig/td_ta_map_lwp2thr.c 1999-11-22 18:25:26.000000000 -0800
167 +++ glibc-2.2.2/linuxthreads_db/td_ta_map_lwp2thr.c 2005-01-27 19:03:46.000000000 -0800
172 - LOG (__FUNCTION__);
173 + LOG ("td_ta_map_lwp2thr");
175 /* Test whether the TA parameter is ok. */
177 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_ta_new.c glibc-2.2.2/linuxthreads_db/td_ta_new.c
178 --- glibc-2.2.2/linuxthreads_db.orig/td_ta_new.c 1999-11-08 14:52:10.000000000 -0800
179 +++ glibc-2.2.2/linuxthreads_db/td_ta_new.c 2005-01-27 19:03:36.000000000 -0800
182 struct agent_list *elemp;
184 - LOG (__FUNCTION__);
187 /* Get the global event mask. This is one of the variables which
188 are new in the thread library to enable debugging. If it is
189 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_ta_reset_stats.c glibc-2.2.2/linuxthreads_db/td_ta_reset_stats.c
190 --- glibc-2.2.2/linuxthreads_db.orig/td_ta_reset_stats.c 1999-11-08 14:52:10.000000000 -0800
191 +++ glibc-2.2.2/linuxthreads_db/td_ta_reset_stats.c 2005-01-27 19:03:27.000000000 -0800
193 td_ta_reset_stats (const td_thragent_t *ta)
195 /* XXX We have to figure out what has to be done. */
196 - LOG (__FUNCTION__);
197 + LOG ("td_ta_reset_stats");
199 /* Test whether the TA parameter is ok. */
201 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_ta_set_event.c glibc-2.2.2/linuxthreads_db/td_ta_set_event.c
202 --- glibc-2.2.2/linuxthreads_db.orig/td_ta_set_event.c 1999-11-08 14:52:10.000000000 -0800
203 +++ glibc-2.2.2/linuxthreads_db/td_ta_set_event.c 2005-01-27 19:03:15.000000000 -0800
208 -td_ta_set_event (ta, event)
209 - const td_thragent_t *ta;
210 - td_thr_events_t *event;
211 +td_ta_set_event (const td_thragent_t *ta, td_thr_events_t *event)
213 td_thr_events_t old_event;
216 - LOG (__FUNCTION__);
217 + LOG ("td_ta_set_event");
219 /* Test whether the TA parameter is ok. */
221 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_ta_setconcurrency.c glibc-2.2.2/linuxthreads_db/td_ta_setconcurrency.c
222 --- glibc-2.2.2/linuxthreads_db.orig/td_ta_setconcurrency.c 1999-11-08 14:52:10.000000000 -0800
223 +++ glibc-2.2.2/linuxthreads_db/td_ta_setconcurrency.c 2005-01-27 19:02:48.000000000 -0800
225 td_ta_setconcurrency (const td_thragent_t *ta, int level)
227 /* This is something LinuxThreads does not support. */
228 - LOG (__FUNCTION__);
229 + LOG ("td_ta_setconcurrency");
231 /* Test whether the TA parameter is ok. */
233 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_ta_thr_iter.c glibc-2.2.2/linuxthreads_db/td_ta_thr_iter.c
234 --- glibc-2.2.2/linuxthreads_db.orig/td_ta_thr_iter.c 2000-02-28 12:34:06.000000000 -0800
235 +++ glibc-2.2.2/linuxthreads_db/td_ta_thr_iter.c 2005-01-27 19:02:39.000000000 -0800
240 - LOG (__FUNCTION__);
241 + LOG ("td_ta_thr_iter");
243 /* Test whether the TA parameter is ok. */
245 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_ta_tsd_iter.c glibc-2.2.2/linuxthreads_db/td_ta_tsd_iter.c
246 --- glibc-2.2.2/linuxthreads_db.orig/td_ta_tsd_iter.c 2000-02-28 12:34:06.000000000 -0800
247 +++ glibc-2.2.2/linuxthreads_db/td_ta_tsd_iter.c 2005-01-27 19:02:29.000000000 -0800
249 int pthread_keys_max;
252 - LOG (__FUNCTION__);
253 + LOG ("td_ta_tsd_iter");
255 /* Test whether the TA parameter is ok. */
257 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_clear_event.c glibc-2.2.2/linuxthreads_db/td_thr_clear_event.c
258 --- glibc-2.2.2/linuxthreads_db.orig/td_thr_clear_event.c 1999-11-03 10:37:18.000000000 -0800
259 +++ glibc-2.2.2/linuxthreads_db/td_thr_clear_event.c 2005-01-27 19:02:19.000000000 -0800
264 -td_thr_clear_event (th, event)
265 - const td_thrhandle_t *th;
266 - td_thr_events_t *event;
267 +td_thr_clear_event (const td_thrhandle_t *th, td_thr_events_t *event)
269 td_thr_events_t old_event;
272 - LOG (__FUNCTION__);
273 + LOG ("td_thr_clear_event");
275 /* Write the new value into the thread data structure. */
276 if (ps_pdread (th->th_ta_p->ph,
277 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_dbresume.c glibc-2.2.2/linuxthreads_db/td_thr_dbresume.c
278 --- glibc-2.2.2/linuxthreads_db.orig/td_thr_dbresume.c 1999-10-07 23:40:02.000000000 -0700
279 +++ glibc-2.2.2/linuxthreads_db/td_thr_dbresume.c 2005-01-27 19:01:54.000000000 -0800
281 td_thr_dbresume (const td_thrhandle_t *th)
283 /* XXX We have to figure out what has to be done. */
284 - LOG (__FUNCTION__);
285 + LOG ("td_thr_dbresume");
288 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_dbsuspend.c glibc-2.2.2/linuxthreads_db/td_thr_dbsuspend.c
289 --- glibc-2.2.2/linuxthreads_db.orig/td_thr_dbsuspend.c 1999-10-07 23:40:33.000000000 -0700
290 +++ glibc-2.2.2/linuxthreads_db/td_thr_dbsuspend.c 2005-01-27 19:01:46.000000000 -0800
292 td_thr_dbsuspend (const td_thrhandle_t *th)
294 /* XXX We have to figure out what has to be done. */
295 - LOG (__FUNCTION__);
296 + LOG ("td_thr_dbsuspend");
299 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_event_enable.c glibc-2.2.2/linuxthreads_db/td_thr_event_enable.c
300 --- glibc-2.2.2/linuxthreads_db.orig/td_thr_event_enable.c 1999-11-02 16:06:10.000000000 -0800
301 +++ glibc-2.2.2/linuxthreads_db/td_thr_event_enable.c 2005-01-27 19:01:35.000000000 -0800
306 -td_thr_event_enable (th, onoff)
307 - const td_thrhandle_t *th;
309 +td_thr_event_enable (const td_thrhandle_t *th, int onoff)
311 - LOG (__FUNCTION__);
312 + LOG ("td_thr_event_enable");
314 /* Write the new value into the thread data structure. */
315 if (ps_pdwrite (th->th_ta_p->ph,
316 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_event_getmsg.c glibc-2.2.2/linuxthreads_db/td_thr_event_getmsg.c
317 --- glibc-2.2.2/linuxthreads_db.orig/td_thr_event_getmsg.c 1999-11-02 16:06:10.000000000 -0800
318 +++ glibc-2.2.2/linuxthreads_db/td_thr_event_getmsg.c 2005-01-27 19:01:11.000000000 -0800
323 - LOG (__FUNCTION__);
324 + LOG ("td_thr_event_getmsg");
326 /* Read the even structure from the target. */
327 if (ps_pdread (th->th_ta_p->ph,
328 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_get_info.c glibc-2.2.2/linuxthreads_db/td_thr_get_info.c
329 --- glibc-2.2.2/linuxthreads_db.orig/td_thr_get_info.c 2000-05-01 14:56:42.000000000 -0700
330 +++ glibc-2.2.2/linuxthreads_db/td_thr_get_info.c 2005-01-27 19:00:59.000000000 -0800
333 struct _pthread_descr_struct pds;
335 - LOG (__FUNCTION__);
336 + LOG ("td_thr_get_info");
338 /* Get the thread descriptor. */
339 if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
340 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_getfpregs.c glibc-2.2.2/linuxthreads_db/td_thr_getfpregs.c
341 --- glibc-2.2.2/linuxthreads_db.orig/td_thr_getfpregs.c 1999-11-02 16:06:10.000000000 -0800
342 +++ glibc-2.2.2/linuxthreads_db/td_thr_getfpregs.c 2005-01-27 19:00:49.000000000 -0800
345 struct _pthread_descr_struct pds;
347 - LOG (__FUNCTION__);
348 + LOG ("td_thr_getfpregs");
350 /* We have to get the state and the PID for this thread. */
351 if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
352 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_getgregs.c glibc-2.2.2/linuxthreads_db/td_thr_getgregs.c
353 --- glibc-2.2.2/linuxthreads_db.orig/td_thr_getgregs.c 2000-02-11 15:48:51.000000000 -0800
354 +++ glibc-2.2.2/linuxthreads_db/td_thr_getgregs.c 2005-01-27 19:00:37.000000000 -0800
357 struct _pthread_descr_struct pds;
359 - LOG (__FUNCTION__);
360 + LOG ("td_thr_getgregs");
362 /* We have to get the state and the PID for this thread. */
363 if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
364 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_getxregs.c glibc-2.2.2/linuxthreads_db/td_thr_getxregs.c
365 --- glibc-2.2.2/linuxthreads_db.orig/td_thr_getxregs.c 1999-10-07 23:46:09.000000000 -0700
366 +++ glibc-2.2.2/linuxthreads_db/td_thr_getxregs.c 2005-01-27 19:00:26.000000000 -0800
368 td_thr_getxregs (const td_thrhandle_t *th, void *xregs)
370 /* XXX This might be platform specific. */
371 - LOG (__FUNCTION__);
372 + LOG ("td_thr_getxregs");
375 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_getxregsize.c glibc-2.2.2/linuxthreads_db/td_thr_getxregsize.c
376 --- glibc-2.2.2/linuxthreads_db.orig/td_thr_getxregsize.c 1999-10-07 23:46:33.000000000 -0700
377 +++ glibc-2.2.2/linuxthreads_db/td_thr_getxregsize.c 2005-01-27 19:00:16.000000000 -0800
379 td_thr_getxregsize (const td_thrhandle_t *th, int *sizep)
381 /* XXX This might be platform specific. */
382 - LOG (__FUNCTION__);
383 + LOG ("td_thr_getxregsize");
386 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_set_event.c glibc-2.2.2/linuxthreads_db/td_thr_set_event.c
387 --- glibc-2.2.2/linuxthreads_db.orig/td_thr_set_event.c 1999-11-03 10:37:18.000000000 -0800
388 +++ glibc-2.2.2/linuxthreads_db/td_thr_set_event.c 2005-01-27 19:00:08.000000000 -0800
393 -td_thr_set_event (th, event)
394 - const td_thrhandle_t *th;
395 - td_thr_events_t *event;
396 +td_thr_set_event (const td_thrhandle_t *th, td_thr_events_t *event)
398 td_thr_events_t old_event;
401 - LOG (__FUNCTION__);
402 + LOG ("td_thr_set_event");
404 /* Write the new value into the thread data structure. */
405 if (ps_pdread (th->th_ta_p->ph,
406 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_setfpregs.c glibc-2.2.2/linuxthreads_db/td_thr_setfpregs.c
407 --- glibc-2.2.2/linuxthreads_db.orig/td_thr_setfpregs.c 1999-11-02 16:06:10.000000000 -0800
408 +++ glibc-2.2.2/linuxthreads_db/td_thr_setfpregs.c 2005-01-27 18:59:06.000000000 -0800
411 struct _pthread_descr_struct pds;
413 - LOG (__FUNCTION__);
414 + LOG ("td_thr_setfpregs");
416 /* We have to get the state and the PID for this thread. */
417 if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
418 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_setgregs.c glibc-2.2.2/linuxthreads_db/td_thr_setgregs.c
419 --- glibc-2.2.2/linuxthreads_db.orig/td_thr_setgregs.c 2000-02-11 15:48:51.000000000 -0800
420 +++ glibc-2.2.2/linuxthreads_db/td_thr_setgregs.c 2005-01-27 18:58:57.000000000 -0800
423 struct _pthread_descr_struct pds;
425 - LOG (__FUNCTION__);
426 + LOG ("td_thr_setgregs");
428 /* We have to get the state and the PID for this thread. */
429 if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
430 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_setprio.c glibc-2.2.2/linuxthreads_db/td_thr_setprio.c
431 --- glibc-2.2.2/linuxthreads_db.orig/td_thr_setprio.c 1999-10-07 23:49:11.000000000 -0700
432 +++ glibc-2.2.2/linuxthreads_db/td_thr_setprio.c 2005-01-27 18:58:46.000000000 -0800
434 td_thr_setprio (const td_thrhandle_t *th, int prio)
436 /* XXX We have to figure out what has to be done. */
437 - LOG (__FUNCTION__);
438 + LOG ("td_thr_setprio");
441 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_setsigpending.c glibc-2.2.2/linuxthreads_db/td_thr_setsigpending.c
442 --- glibc-2.2.2/linuxthreads_db.orig/td_thr_setsigpending.c 1999-10-07 23:49:38.000000000 -0700
443 +++ glibc-2.2.2/linuxthreads_db/td_thr_setsigpending.c 2005-01-27 18:58:34.000000000 -0800
447 /* XXX We have to figure out what has to be done. */
448 - LOG (__FUNCTION__);
449 + LOG ("td_thr_setsigpending");
452 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_setxregs.c glibc-2.2.2/linuxthreads_db/td_thr_setxregs.c
453 --- glibc-2.2.2/linuxthreads_db.orig/td_thr_setxregs.c 1999-10-07 23:48:20.000000000 -0700
454 +++ glibc-2.2.2/linuxthreads_db/td_thr_setxregs.c 2005-01-27 18:58:21.000000000 -0800
456 td_thr_setxregs (const td_thrhandle_t *ta, const void *addr)
458 /* XXX This might have to be platform specific. */
459 - LOG (__FUNCTION__);
460 + LOG ("td_thr_setxregs");
463 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_sigsetmask.c glibc-2.2.2/linuxthreads_db/td_thr_sigsetmask.c
464 --- glibc-2.2.2/linuxthreads_db.orig/td_thr_sigsetmask.c 1999-10-07 23:50:34.000000000 -0700
465 +++ glibc-2.2.2/linuxthreads_db/td_thr_sigsetmask.c 2005-01-27 18:57:58.000000000 -0800
467 td_thr_sigsetmask (const td_thrhandle_t *th, const sigset_t *ss)
469 /* XXX We have to figure out what has to be done. */
470 - LOG (__FUNCTION__);
471 + LOG ("td_thr_sigsetmask");
474 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_tsd.c glibc-2.2.2/linuxthreads_db/td_thr_tsd.c
475 --- glibc-2.2.2/linuxthreads_db.orig/td_thr_tsd.c 1999-10-07 23:52:15.000000000 -0700
476 +++ glibc-2.2.2/linuxthreads_db/td_thr_tsd.c 2005-01-27 18:58:09.000000000 -0800
481 - LOG (__FUNCTION__);
482 + LOG ("td_thr_tsd");
484 /* Get the thread descriptor. */
485 if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
486 diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_validate.c glibc-2.2.2/linuxthreads_db/td_thr_validate.c
487 --- glibc-2.2.2/linuxthreads_db.orig/td_thr_validate.c 1999-10-14 17:24:20.000000000 -0700
488 +++ glibc-2.2.2/linuxthreads_db/td_thr_validate.c 2005-01-27 18:57:41.000000000 -0800
490 int pthread_threads_max = th->th_ta_p->pthread_threads_max;
493 - LOG (__FUNCTION__);
494 + LOG ("td_thr_validate");
496 /* Now get all descriptors, one after the other. */
497 for (cnt = 0; cnt < pthread_threads_max; ++cnt, ++handles)