Make the progress bar a default for all samples.
1 Fixes following error building glibc-2.2.5 with gcc-3.4:
2 td_init.c: In function `td_init':
3 td_init.c:30: error: parse error before string constant
4 td_init.c:30: error: parse error before string constant
5 make[2]: *** [/home/dank/wk/crosstool-0.28-rc4h/build/i686-unknown-linux-gnu/gcc-3.4.0-20040406-glibc-2.2.5/build-glibc/linuxthreads_db/td_init.os] Error 1
7 # Retrieved by diffing a +-1 day rng around the time mentioned
8 # in http://sources.redhat.com/ml/glibc-cvs/2001-q4/msg00654.html
9 # cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/glibc diff -u -D"2001-12-27 08:41:30" -D"2001-12-29 08:41:32"
13 ===================================================================
14 RCS file: /cvs/glibc/libc/linuxthreads_db/ChangeLog,v
15 retrieving revision 1.41
16 retrieving revision 1.42
18 --- libc/linuxthreads_db/ChangeLog 13 Apr 2001 00:09:54 -0000 1.41
19 +++ libc/linuxthreads_db/ChangeLog 29 Dec 2001 00:59:58 -0000 1.42
21 +2001-12-28 Andreas Jaeger <aj@suse.de>
23 + * td_init.c (td_init): Don't use __FUNCTION__ as literal.
24 + * td_log.c (td_log): Likewise.
25 + * td_ta_delete.c (td_ta_delete): Likewise.
26 + * td_ta_get_nthreads.c (td_ta_get_nthreads): Likewise.
27 + * td_ta_get_ph.c (td_ta_get_ph): Likewise.
28 + * td_ta_map_id2thr.c (td_ta_map_id2thr): Likewise.
29 + * td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Likewise.
30 + * td_ta_new.c (td_ta_new): Likewise.
31 + * td_ta_clear_event.c (td_ta_clear_event): Likewise.
32 + * td_ta_enable_stats.c (td_ta_enable_stats): Likewise.
33 + * td_ta_event_addr.c (td_ta_event_addr): Likewise.
34 + * td_ta_event_getmsg.c (td_ta_event_getmsg): Likewise.
35 + * td_ta_get_stats.c (td_ta_get_stats): Likewise.
36 + * td_ta_reset_stats.c (td_ta_reset_stats): Likewise.
37 + * td_ta_set_event.c (td_ta_set_event): Likewise.
38 + * td_ta_setconcurrency.c (td_ta_setconcurrency): Likewise.
39 + * td_ta_thr_iter.c (td_ta_thr_iter): Likewise.
40 + * td_ta_tsd_iter.c (td_ta_tsd_iter): Likewise.
41 + * td_thr_clear_event.c (td_thr_clear_event): Likewise.
42 + * td_thr_dbresume.c (td_thr_dbresume): Likewise.
43 + * td_thr_dbsuspend.c (td_thr_dbsuspend): Likewise.
44 + * td_thr_event_enable.c (td_thr_event_enable): Likewise.
45 + * td_thr_event_getmsg.c (td_thr_event_getmsg): Likewise.
46 + * td_thr_get_info.c (td_thr_get_info): Likewise.
47 + * td_thr_getfpregs.c (td_thr_getfpregs): Likewise.
48 + * td_thr_getgregs.c (td_thr_getgregs): Likewise.
49 + * td_thr_getxregs.c (td_thr_getxregs): Likewise.
50 + * td_thr_getxregsize.c (td_thr_getxregsize): Likewise.
51 + * td_thr_set_event.c (td_thr_set_event): Likewise.
52 + * td_thr_setfpregs.c (td_thr_setfpregs): Likewise.
53 + * td_thr_setgregs.c (td_thr_setgregs): Likewise.
54 + * td_thr_setprio.c (td_thr_setprio): Likewise.
55 + * td_thr_setsigpending.c (td_thr_setsigpending): Likewise.
56 + * td_thr_setxregs.c (td_thr_setxregs): Likewise.
57 + * td_thr_sigsetmask.c (td_thr_sigsetmask): Likewise.
58 + * td_thr_tsd.c (td_thr_tsd): Likewise.
59 + * td_thr_validate.c (td_thr_validate): Likewise.
61 2001-04-12 Ulrich Drepper <drepper@redhat.com>
63 * td_ta_map_id2thr.c: If thread terminated return TD_NOTHR.
65 ===================================================================
66 RCS file: /cvs/glibc/libc/linuxthreads_db/td_init.c,v
67 retrieving revision 1.3
68 retrieving revision 1.4
70 --- libc/linuxthreads_db/td_init.c 6 Jul 2001 05:27:23 -0000 1.3
71 +++ libc/linuxthreads_db/td_init.c 28 Dec 2001 16:41:29 -0000 1.4
73 /* Initialization function of thread debugger support library.
74 - Copyright (C) 1999 Free Software Foundation, Inc.
75 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
76 This file is part of the GNU C Library.
77 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
82 /* XXX We have to figure out what has to be done. */
88 ===================================================================
89 RCS file: /cvs/glibc/libc/linuxthreads_db/td_log.c,v
90 retrieving revision 1.2
91 retrieving revision 1.3
93 --- libc/linuxthreads_db/td_log.c 6 Jul 2001 05:27:23 -0000 1.2
94 +++ libc/linuxthreads_db/td_log.c 28 Dec 2001 16:41:29 -0000 1.3
96 /* Noop, left for historical reasons.
97 - Copyright (C) 1999 Free Software Foundation, Inc.
98 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
99 This file is part of the GNU C Library.
100 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
105 /* This interface is deprecated in the Sun interface. We provide it
106 - for compatibility but don't do anyhting ourself. We might in
107 + for compatibility but don't do anything ourself. We might in
108 future do some logging if this seems reasonable. */
109 - LOG (__FUNCTION__);
113 Index: td_ta_clear_event.c
114 ===================================================================
115 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_clear_event.c,v
116 retrieving revision 1.3
117 retrieving revision 1.4
119 --- libc/linuxthreads_db/td_ta_clear_event.c 6 Jul 2001 05:27:23 -0000 1.3
120 +++ libc/linuxthreads_db/td_ta_clear_event.c 28 Dec 2001 16:41:29 -0000 1.4
122 /* Globally disable events.
123 - Copyright (C) 1999 Free Software Foundation, Inc.
124 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
125 This file is part of the GNU C Library.
126 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
129 td_thr_events_t old_event;
132 - LOG (__FUNCTION__);
133 + LOG ("td_ta_clear_event");
135 /* Test whether the TA parameter is ok. */
137 Index: td_ta_delete.c
138 ===================================================================
139 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_delete.c,v
140 retrieving revision 1.3
141 retrieving revision 1.4
143 --- libc/linuxthreads_db/td_ta_delete.c 6 Jul 2001 05:27:23 -0000 1.3
144 +++ libc/linuxthreads_db/td_ta_delete.c 28 Dec 2001 16:41:29 -0000 1.4
146 /* Detach to target process.
147 - Copyright (C) 1999 Free Software Foundation, Inc.
148 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
149 This file is part of the GNU C Library.
150 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
154 td_ta_delete (td_thragent_t *ta)
156 - LOG (__FUNCTION__);
157 + LOG ("td_ta_delete");
160 if (ta == NULL || __td_agent_list == NULL)
161 Index: td_ta_enable_stats.c
162 ===================================================================
163 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_enable_stats.c,v
164 retrieving revision 1.3
165 retrieving revision 1.4
167 --- libc/linuxthreads_db/td_ta_enable_stats.c 6 Jul 2001 05:27:23 -0000 1.3
168 +++ libc/linuxthreads_db/td_ta_enable_stats.c 28 Dec 2001 16:41:29 -0000 1.4
170 /* Enable collection of statistics for process.
171 - Copyright (C) 1999 Free Software Foundation, Inc.
172 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
173 This file is part of the GNU C Library.
174 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
177 td_ta_enable_stats (const td_thragent_t *ta, int enable)
179 /* XXX We have to figure out what has to be done. */
180 - LOG (__FUNCTION__);
181 + LOG ("td_ta_enable_stats");
183 /* Test whether the TA parameter is ok. */
185 Index: td_ta_event_addr.c
186 ===================================================================
187 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_event_addr.c,v
188 retrieving revision 1.5
189 retrieving revision 1.6
191 --- libc/linuxthreads_db/td_ta_event_addr.c 6 Jul 2001 05:27:23 -0000 1.5
192 +++ libc/linuxthreads_db/td_ta_event_addr.c 28 Dec 2001 16:41:29 -0000 1.6
194 td_err_e res = TD_NOEVENT;
197 - LOG (__FUNCTION__);
198 + LOG ("td_ta_event_addr");
200 /* Test whether the TA parameter is ok. */
202 Index: td_ta_event_getmsg.c
203 ===================================================================
204 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_event_getmsg.c,v
205 retrieving revision 1.5
206 retrieving revision 1.6
208 --- libc/linuxthreads_db/td_ta_event_getmsg.c 6 Jul 2001 05:27:23 -0000 1.5
209 +++ libc/linuxthreads_db/td_ta_event_getmsg.c 28 Dec 2001 16:41:29 -0000 1.6
212 - Copyright (C) 1999 Free Software Foundation, Inc.
213 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
214 This file is part of the GNU C Library.
215 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
221 - LOG (__FUNCTION__);
222 + LOG ("td_ta_event_getmsg");
224 /* Test whether the TA parameter is ok. */
226 Index: td_ta_get_nthreads.c
227 ===================================================================
228 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_get_nthreads.c,v
229 retrieving revision 1.5
230 retrieving revision 1.6
232 --- libc/linuxthreads_db/td_ta_get_nthreads.c 6 Jul 2001 05:27:23 -0000 1.5
233 +++ libc/linuxthreads_db/td_ta_get_nthreads.c 28 Dec 2001 16:41:29 -0000 1.6
238 - LOG (__FUNCTION__);
239 + LOG ("td_ta_get_nthreads");
241 /* Test whether the TA parameter is ok. */
243 Index: td_ta_get_ph.c
244 ===================================================================
245 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_get_ph.c,v
246 retrieving revision 1.3
247 retrieving revision 1.4
249 --- libc/linuxthreads_db/td_ta_get_ph.c 6 Jul 2001 05:27:23 -0000 1.3
250 +++ libc/linuxthreads_db/td_ta_get_ph.c 28 Dec 2001 16:41:29 -0000 1.4
252 /* Get external process handle.
253 - Copyright (C) 1999 Free Software Foundation, Inc.
254 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
255 This file is part of the GNU C Library.
256 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
260 td_ta_get_ph (const td_thragent_t *ta, struct ps_prochandle **ph)
262 - LOG (__FUNCTION__);
263 + LOG ("td_ta_get_ph");
265 /* Test whether the TA parameter is ok. */
267 Index: td_ta_get_stats.c
268 ===================================================================
269 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_get_stats.c,v
270 retrieving revision 1.3
271 retrieving revision 1.4
273 --- libc/linuxthreads_db/td_ta_get_stats.c 6 Jul 2001 05:27:23 -0000 1.3
274 +++ libc/linuxthreads_db/td_ta_get_stats.c 28 Dec 2001 16:41:29 -0000 1.4
276 /* Retrieve statistics for process.
277 - Copyright (C) 1999 Free Software Foundation, Inc.
278 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
279 This file is part of the GNU C Library.
280 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
283 td_ta_get_stats (const td_thragent_t *ta, td_ta_stats_t *statsp)
285 /* XXX We have to figure out what has to be done. */
286 - LOG (__FUNCTION__);
287 + LOG ("td_ta_get_stats");
289 /* Test whether the TA parameter is ok. */
291 Index: td_ta_map_id2thr.c
292 ===================================================================
293 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_map_id2thr.c,v
294 retrieving revision 1.4
295 retrieving revision 1.5
297 --- libc/linuxthreads_db/td_ta_map_id2thr.c 6 Jul 2001 05:27:23 -0000 1.4
298 +++ libc/linuxthreads_db/td_ta_map_id2thr.c 28 Dec 2001 16:41:29 -0000 1.5
300 struct _pthread_descr_struct pds;
301 int pthread_threads_max;
303 - LOG (__FUNCTION__);
304 + LOG ("td_ta_map_id2thr");
306 /* Test whether the TA parameter is ok. */
308 Index: td_ta_map_lwp2thr.c
309 ===================================================================
310 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_map_lwp2thr.c,v
311 retrieving revision 1.5
312 retrieving revision 1.6
314 --- libc/linuxthreads_db/td_ta_map_lwp2thr.c 6 Jul 2001 05:27:23 -0000 1.5
315 +++ libc/linuxthreads_db/td_ta_map_lwp2thr.c 28 Dec 2001 16:41:29 -0000 1.6
317 /* Which thread is running on an lwp?
318 - Copyright (C) 1999 Free Software Foundation, Inc.
319 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
320 This file is part of the GNU C Library.
321 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
327 - LOG (__FUNCTION__);
328 + LOG ("td_ta_map_lwp2thr");
330 /* Test whether the TA parameter is ok. */
333 ===================================================================
334 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_new.c,v
335 retrieving revision 1.10
336 retrieving revision 1.11
337 diff -u -r1.10 -r1.11
338 --- libc/linuxthreads_db/td_ta_new.c 6 Jul 2001 05:27:23 -0000 1.10
339 +++ libc/linuxthreads_db/td_ta_new.c 28 Dec 2001 16:41:29 -0000 1.11
342 struct agent_list *elemp;
344 - LOG (__FUNCTION__);
347 /* Get the global event mask. This is one of the variables which
348 are new in the thread library to enable debugging. If it is
349 Index: td_ta_reset_stats.c
350 ===================================================================
351 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_reset_stats.c,v
352 retrieving revision 1.3
353 retrieving revision 1.4
355 --- libc/linuxthreads_db/td_ta_reset_stats.c 6 Jul 2001 05:27:23 -0000 1.3
356 +++ libc/linuxthreads_db/td_ta_reset_stats.c 28 Dec 2001 16:41:29 -0000 1.4
359 - Copyright (C) 1999 Free Software Foundation, Inc.
360 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
361 This file is part of the GNU C Library.
362 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
365 td_ta_reset_stats (const td_thragent_t *ta)
367 /* XXX We have to figure out what has to be done. */
368 - LOG (__FUNCTION__);
369 + LOG ("td_ta_reset_stats");
371 /* Test whether the TA parameter is ok. */
373 Index: td_ta_set_event.c
374 ===================================================================
375 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_set_event.c,v
376 retrieving revision 1.4
377 retrieving revision 1.5
379 --- libc/linuxthreads_db/td_ta_set_event.c 6 Jul 2001 05:27:23 -0000 1.4
380 +++ libc/linuxthreads_db/td_ta_set_event.c 28 Dec 2001 16:41:29 -0000 1.5
382 /* Globally enable events.
383 - Copyright (C) 1999 Free Software Foundation, Inc.
384 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
385 This file is part of the GNU C Library.
386 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
389 td_thr_events_t old_event;
392 - LOG (__FUNCTION__);
393 + LOG ("td_ta_set_event");
395 /* Test whether the TA parameter is ok. */
397 Index: td_ta_setconcurrency.c
398 ===================================================================
399 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_setconcurrency.c,v
400 retrieving revision 1.3
401 retrieving revision 1.4
403 --- libc/linuxthreads_db/td_ta_setconcurrency.c 6 Jul 2001 05:27:23 -0000 1.3
404 +++ libc/linuxthreads_db/td_ta_setconcurrency.c 28 Dec 2001 16:41:29 -0000 1.4
406 /* Set suggested concurrency level for process.
407 - Copyright (C) 1999 Free Software Foundation, Inc.
408 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
409 This file is part of the GNU C Library.
410 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
413 td_ta_setconcurrency (const td_thragent_t *ta, int level)
415 /* This is something LinuxThreads does not support. */
416 - LOG (__FUNCTION__);
417 + LOG ("td_ta_setconcurrency");
419 /* Test whether the TA parameter is ok. */
421 Index: td_ta_thr_iter.c
422 ===================================================================
423 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_thr_iter.c,v
424 retrieving revision 1.11
425 retrieving revision 1.12
426 diff -u -r1.11 -r1.12
427 --- libc/linuxthreads_db/td_ta_thr_iter.c 6 Jul 2001 05:27:23 -0000 1.11
428 +++ libc/linuxthreads_db/td_ta_thr_iter.c 28 Dec 2001 16:41:29 -0000 1.12
430 /* Iterate over a process's threads.
431 - Copyright (C) 1999, 2000 Free Software Foundation, Inc.
432 + Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
433 This file is part of the GNU C Library.
434 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
440 - LOG (__FUNCTION__);
441 + LOG ("td_ta_thr_iter");
443 /* Test whether the TA parameter is ok. */
445 Index: td_ta_tsd_iter.c
446 ===================================================================
447 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_tsd_iter.c,v
448 retrieving revision 1.4
449 retrieving revision 1.5
451 --- libc/linuxthreads_db/td_ta_tsd_iter.c 6 Jul 2001 05:27:23 -0000 1.4
452 +++ libc/linuxthreads_db/td_ta_tsd_iter.c 28 Dec 2001 16:41:29 -0000 1.5
454 /* Iterate over a process's thread-specific data.
455 - Copyright (C) 1999, 2000 Free Software Foundation, Inc.
456 + Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
457 This file is part of the GNU C Library.
458 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
461 int pthread_keys_max;
464 - LOG (__FUNCTION__);
465 + LOG ("td_ta_tsd_iter");
467 /* Test whether the TA parameter is ok. */
469 Index: td_thr_clear_event.c
470 ===================================================================
471 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_clear_event.c,v
472 retrieving revision 1.3
473 retrieving revision 1.4
475 --- libc/linuxthreads_db/td_thr_clear_event.c 6 Jul 2001 05:27:23 -0000 1.3
476 +++ libc/linuxthreads_db/td_thr_clear_event.c 28 Dec 2001 16:41:29 -0000 1.4
478 /* Disable specific event for thread.
479 - Copyright (C) 1999 Free Software Foundation, Inc.
480 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
481 This file is part of the GNU C Library.
482 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
485 td_thr_events_t old_event;
488 - LOG (__FUNCTION__);
489 + LOG ("td_thr_clear_event");
491 /* Write the new value into the thread data structure. */
492 if (ps_pdread (th->th_ta_p->ph,
493 Index: td_thr_dbresume.c
494 ===================================================================
495 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_dbresume.c,v
496 retrieving revision 1.2
497 retrieving revision 1.3
499 --- libc/linuxthreads_db/td_thr_dbresume.c 6 Jul 2001 05:27:23 -0000 1.2
500 +++ libc/linuxthreads_db/td_thr_dbresume.c 28 Dec 2001 16:41:29 -0000 1.3
502 /* Resume execution of given thread.
503 - Copyright (C) 1999 Free Software Foundation, Inc.
504 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
505 This file is part of the GNU C Library.
506 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
509 td_thr_dbresume (const td_thrhandle_t *th)
511 /* XXX We have to figure out what has to be done. */
512 - LOG (__FUNCTION__);
513 + LOG ("td_thr_dbresume");
516 Index: td_thr_dbsuspend.c
517 ===================================================================
518 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_dbsuspend.c,v
519 retrieving revision 1.2
520 retrieving revision 1.3
522 --- libc/linuxthreads_db/td_thr_dbsuspend.c 6 Jul 2001 05:27:23 -0000 1.2
523 +++ libc/linuxthreads_db/td_thr_dbsuspend.c 28 Dec 2001 16:41:29 -0000 1.3
525 /* Suspend execution of given thread.
526 - Copyright (C) 1999 Free Software Foundation, Inc.
527 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
528 This file is part of the GNU C Library.
529 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
532 td_thr_dbsuspend (const td_thrhandle_t *th)
534 /* XXX We have to figure out what has to be done. */
535 - LOG (__FUNCTION__);
536 + LOG ("td_thr_dbsuspend");
539 Index: td_thr_event_enable.c
540 ===================================================================
541 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_event_enable.c,v
542 retrieving revision 1.3
543 retrieving revision 1.4
545 --- libc/linuxthreads_db/td_thr_event_enable.c 6 Jul 2001 05:27:23 -0000 1.3
546 +++ libc/linuxthreads_db/td_thr_event_enable.c 28 Dec 2001 16:41:29 -0000 1.4
548 /* Enable event process-wide.
549 - Copyright (C) 1999 Free Software Foundation, Inc.
550 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
551 This file is part of the GNU C Library.
552 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
555 const td_thrhandle_t *th;
558 - LOG (__FUNCTION__);
559 + LOG ("td_thr_event_enable");
561 /* Write the new value into the thread data structure. */
562 if (ps_pdwrite (th->th_ta_p->ph,
563 Index: td_thr_event_getmsg.c
564 ===================================================================
565 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_event_getmsg.c,v
566 retrieving revision 1.3
567 retrieving revision 1.4
569 --- libc/linuxthreads_db/td_thr_event_getmsg.c 6 Jul 2001 05:27:23 -0000 1.3
570 +++ libc/linuxthreads_db/td_thr_event_getmsg.c 28 Dec 2001 16:41:29 -0000 1.4
573 - Copyright (C) 1999 Free Software Foundation, Inc.
574 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
575 This file is part of the GNU C Library.
576 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
582 - LOG (__FUNCTION__);
583 + LOG ("td_thr_event_getmsg");
585 /* Read the even structure from the target. */
586 if (ps_pdread (th->th_ta_p->ph,
587 Index: td_thr_get_info.c
588 ===================================================================
589 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_get_info.c,v
590 retrieving revision 1.9
591 retrieving revision 1.10
593 --- libc/linuxthreads_db/td_thr_get_info.c 6 Jul 2001 05:27:23 -0000 1.9
594 +++ libc/linuxthreads_db/td_thr_get_info.c 28 Dec 2001 16:41:29 -0000 1.10
596 /* Get thread information.
597 - Copyright (C) 1999, 2000 Free Software Foundation, Inc.
598 + Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
599 This file is part of the GNU C Library.
600 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
604 struct _pthread_descr_struct pds;
606 - LOG (__FUNCTION__);
607 + LOG ("td_thr_get_info");
609 /* Get the thread descriptor. */
610 if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
611 Index: td_thr_getfpregs.c
612 ===================================================================
613 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_getfpregs.c,v
614 retrieving revision 1.4
615 retrieving revision 1.5
617 --- libc/linuxthreads_db/td_thr_getfpregs.c 6 Jul 2001 05:27:23 -0000 1.4
618 +++ libc/linuxthreads_db/td_thr_getfpregs.c 28 Dec 2001 16:41:29 -0000 1.5
621 struct _pthread_descr_struct pds;
623 - LOG (__FUNCTION__);
624 + LOG ("td_thr_getfpregs");
626 /* We have to get the state and the PID for this thread. */
627 if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
628 Index: td_thr_getgregs.c
629 ===================================================================
630 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_getgregs.c,v
631 retrieving revision 1.8
632 retrieving revision 1.9
634 --- libc/linuxthreads_db/td_thr_getgregs.c 6 Jul 2001 05:27:23 -0000 1.8
635 +++ libc/linuxthreads_db/td_thr_getgregs.c 28 Dec 2001 16:41:29 -0000 1.9
638 struct _pthread_descr_struct pds;
640 - LOG (__FUNCTION__);
641 + LOG ("td_thr_getgregs");
643 /* We have to get the state and the PID for this thread. */
644 if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
645 Index: td_thr_getxregs.c
646 ===================================================================
647 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_getxregs.c,v
648 retrieving revision 1.2
649 retrieving revision 1.3
651 --- libc/linuxthreads_db/td_thr_getxregs.c 6 Jul 2001 05:27:23 -0000 1.2
652 +++ libc/linuxthreads_db/td_thr_getxregs.c 28 Dec 2001 16:41:29 -0000 1.3
654 /* Get a thread's extra state register set.
655 - Copyright (C) 1999 Free Software Foundation, Inc.
656 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
657 This file is part of the GNU C Library.
658 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
661 td_thr_getxregs (const td_thrhandle_t *th, void *xregs)
663 /* XXX This might be platform specific. */
664 - LOG (__FUNCTION__);
665 + LOG ("td_thr_getxregs");
668 Index: td_thr_getxregsize.c
669 ===================================================================
670 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_getxregsize.c,v
671 retrieving revision 1.2
672 retrieving revision 1.3
674 --- libc/linuxthreads_db/td_thr_getxregsize.c 6 Jul 2001 05:27:23 -0000 1.2
675 +++ libc/linuxthreads_db/td_thr_getxregsize.c 28 Dec 2001 16:41:29 -0000 1.3
677 /* Get the size of the extra state register set for this architecture.
678 - Copyright (C) 1999 Free Software Foundation, Inc.
679 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
680 This file is part of the GNU C Library.
681 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
684 td_thr_getxregsize (const td_thrhandle_t *th, int *sizep)
686 /* XXX This might be platform specific. */
687 - LOG (__FUNCTION__);
688 + LOG ("td_thr_getxregsize");
691 Index: td_thr_set_event.c
692 ===================================================================
693 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_set_event.c,v
694 retrieving revision 1.4
695 retrieving revision 1.5
697 --- libc/linuxthreads_db/td_thr_set_event.c 6 Jul 2001 05:27:23 -0000 1.4
698 +++ libc/linuxthreads_db/td_thr_set_event.c 28 Dec 2001 16:41:29 -0000 1.5
700 /* Enable specific event for thread.
701 - Copyright (C) 1999 Free Software Foundation, Inc.
702 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
703 This file is part of the GNU C Library.
704 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
707 td_thr_events_t old_event;
710 - LOG (__FUNCTION__);
711 + LOG ("td_thr_set_event");
713 /* Write the new value into the thread data structure. */
714 if (ps_pdread (th->th_ta_p->ph,
715 Index: td_thr_setfpregs.c
716 ===================================================================
717 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_setfpregs.c,v
718 retrieving revision 1.4
719 retrieving revision 1.5
721 --- libc/linuxthreads_db/td_thr_setfpregs.c 6 Jul 2001 05:27:23 -0000 1.4
722 +++ libc/linuxthreads_db/td_thr_setfpregs.c 28 Dec 2001 16:41:29 -0000 1.5
725 struct _pthread_descr_struct pds;
727 - LOG (__FUNCTION__);
728 + LOG ("td_thr_setfpregs");
730 /* We have to get the state and the PID for this thread. */
731 if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
732 Index: td_thr_setgregs.c
733 ===================================================================
734 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_setgregs.c,v
735 retrieving revision 1.6
736 retrieving revision 1.7
738 --- libc/linuxthreads_db/td_thr_setgregs.c 6 Jul 2001 05:27:23 -0000 1.6
739 +++ libc/linuxthreads_db/td_thr_setgregs.c 28 Dec 2001 16:41:29 -0000 1.7
742 struct _pthread_descr_struct pds;
744 - LOG (__FUNCTION__);
745 + LOG ("td_thr_setgregs");
747 /* We have to get the state and the PID for this thread. */
748 if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
749 Index: td_thr_setprio.c
750 ===================================================================
751 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_setprio.c,v
752 retrieving revision 1.2
753 retrieving revision 1.3
755 --- libc/linuxthreads_db/td_thr_setprio.c 6 Jul 2001 05:27:23 -0000 1.2
756 +++ libc/linuxthreads_db/td_thr_setprio.c 28 Dec 2001 16:41:29 -0000 1.3
758 /* Set a thread's priority.
759 - Copyright (C) 1999 Free Software Foundation, Inc.
760 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
761 This file is part of the GNU C Library.
762 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
765 td_thr_setprio (const td_thrhandle_t *th, int prio)
767 /* XXX We have to figure out what has to be done. */
768 - LOG (__FUNCTION__);
769 + LOG ("td_thr_setprio");
772 Index: td_thr_setsigpending.c
773 ===================================================================
774 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_setsigpending.c,v
775 retrieving revision 1.2
776 retrieving revision 1.3
778 --- libc/linuxthreads_db/td_thr_setsigpending.c 6 Jul 2001 05:27:23 -0000 1.2
779 +++ libc/linuxthreads_db/td_thr_setsigpending.c 28 Dec 2001 16:41:29 -0000 1.3
781 /* Raise a signal for a thread.
782 - Copyright (C) 1999 Free Software Foundation, Inc.
783 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
784 This file is part of the GNU C Library.
785 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
790 /* XXX We have to figure out what has to be done. */
791 - LOG (__FUNCTION__);
792 + LOG ("td_thr_setsigpending");
795 Index: td_thr_setxregs.c
796 ===================================================================
797 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_setxregs.c,v
798 retrieving revision 1.2
799 retrieving revision 1.3
801 --- libc/linuxthreads_db/td_thr_setxregs.c 6 Jul 2001 05:27:23 -0000 1.2
802 +++ libc/linuxthreads_db/td_thr_setxregs.c 28 Dec 2001 16:41:29 -0000 1.3
804 /* Set a thread's extra state register set.
805 - Copyright (C) 1999 Free Software Foundation, Inc.
806 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
807 This file is part of the GNU C Library.
808 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
811 td_thr_setxregs (const td_thrhandle_t *ta, const void *addr)
813 /* XXX This might have to be platform specific. */
814 - LOG (__FUNCTION__);
815 + LOG ("td_thr_setxregs");
818 Index: td_thr_sigsetmask.c
819 ===================================================================
820 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_sigsetmask.c,v
821 retrieving revision 1.2
822 retrieving revision 1.3
824 --- libc/linuxthreads_db/td_thr_sigsetmask.c 6 Jul 2001 05:27:23 -0000 1.2
825 +++ libc/linuxthreads_db/td_thr_sigsetmask.c 28 Dec 2001 16:41:29 -0000 1.3
827 /* Set a thread's signal mask.
828 - Copyright (C) 1999 Free Software Foundation, Inc.
829 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
830 This file is part of the GNU C Library.
831 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
834 td_thr_sigsetmask (const td_thrhandle_t *th, const sigset_t *ss)
836 /* XXX We have to figure out what has to be done. */
837 - LOG (__FUNCTION__);
838 + LOG ("td_thr_sigsetmask");
842 ===================================================================
843 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_tsd.c,v
844 retrieving revision 1.2
845 retrieving revision 1.3
847 --- libc/linuxthreads_db/td_thr_tsd.c 6 Jul 2001 05:27:23 -0000 1.2
848 +++ libc/linuxthreads_db/td_thr_tsd.c 28 Dec 2001 16:41:29 -0000 1.3
850 /* Get a thread-specific data pointer for a thread.
851 - Copyright (C) 1999 Free Software Foundation, Inc.
852 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
853 This file is part of the GNU C Library.
854 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
860 - LOG (__FUNCTION__);
861 + LOG ("td_thr_tsd");
863 /* Get the thread descriptor. */
864 if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
865 Index: td_thr_validate.c
866 ===================================================================
867 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_validate.c,v
868 retrieving revision 1.4
869 retrieving revision 1.5
871 --- libc/linuxthreads_db/td_thr_validate.c 6 Jul 2001 05:27:23 -0000 1.4
872 +++ libc/linuxthreads_db/td_thr_validate.c 28 Dec 2001 16:41:29 -0000 1.5
874 int pthread_threads_max = th->th_ta_p->pthread_threads_max;
877 - LOG (__FUNCTION__);
878 + LOG ("td_thr_validate");
880 /* Now get all descriptors, one after the other. */
881 for (cnt = 0; cnt < pthread_threads_max; ++cnt, ++handles)