Use ${CT_TOP_DIR}/build as a base for build directories (used in default values for paths).
Remove this directory on distclean (hard-coded).
Mark the version to be 0.0.1-svn (no release yet).
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"
12 # And then removing hunks that don't apply to rh6.2's glibc-2.1.3
13 # (thankfully, all were comments)
14 # and rediffing one hunk for glibc-2.1.3
17 ===================================================================
18 RCS file: /cvs/glibc/libc/linuxthreads_db/td_init.c,v
19 retrieving revision 1.3
20 retrieving revision 1.4
22 --- libc/linuxthreads_db/td_init.c 6 Jul 2001 05:27:23 -0000 1.3
23 +++ libc/linuxthreads_db/td_init.c 28 Dec 2001 16:41:29 -0000 1.4
25 /* Initialization function of thread debugger support library.
26 - Copyright (C) 1999 Free Software Foundation, Inc.
27 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
28 This file is part of the GNU C Library.
29 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
34 /* XXX We have to figure out what has to be done. */
40 ===================================================================
41 RCS file: /cvs/glibc/libc/linuxthreads_db/td_log.c,v
42 retrieving revision 1.2
43 retrieving revision 1.3
45 --- libc/linuxthreads_db/td_log.c 6 Jul 2001 05:27:23 -0000 1.2
46 +++ libc/linuxthreads_db/td_log.c 28 Dec 2001 16:41:29 -0000 1.3
48 /* Noop, left for historical reasons.
49 - Copyright (C) 1999 Free Software Foundation, Inc.
50 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
51 This file is part of the GNU C Library.
52 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
57 /* This interface is deprecated in the Sun interface. We provide it
58 - for compatibility but don't do anyhting ourself. We might in
59 + for compatibility but don't do anything ourself. We might in
60 future do some logging if this seems reasonable. */
65 Index: td_ta_clear_event.c
66 ===================================================================
67 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_clear_event.c,v
68 retrieving revision 1.3
69 retrieving revision 1.4
71 --- libc/linuxthreads_db/td_ta_clear_event.c 6 Jul 2001 05:27:23 -0000 1.3
72 +++ libc/linuxthreads_db/td_ta_clear_event.c 28 Dec 2001 16:41:29 -0000 1.4
74 /* Globally disable events.
75 - Copyright (C) 1999 Free Software Foundation, Inc.
76 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
77 This file is part of the GNU C Library.
78 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
81 td_thr_events_t old_event;
85 + LOG ("td_ta_clear_event");
87 /* Test whether the TA parameter is ok. */
90 ===================================================================
91 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_delete.c,v
92 retrieving revision 1.3
93 retrieving revision 1.4
95 --- libc/linuxthreads_db/td_ta_delete.c 6 Jul 2001 05:27:23 -0000 1.3
96 +++ libc/linuxthreads_db/td_ta_delete.c 28 Dec 2001 16:41:29 -0000 1.4
98 /* Detach to target process.
99 - Copyright (C) 1999 Free Software Foundation, Inc.
100 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
101 This file is part of the GNU C Library.
102 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
106 td_ta_delete (td_thragent_t *ta)
108 - LOG (__FUNCTION__);
109 + LOG ("td_ta_delete");
112 if (ta == NULL || __td_agent_list == NULL)
113 Index: td_ta_enable_stats.c
114 ===================================================================
115 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_enable_stats.c,v
116 retrieving revision 1.3
117 retrieving revision 1.4
119 --- libc/linuxthreads_db/td_ta_enable_stats.c 6 Jul 2001 05:27:23 -0000 1.3
120 +++ libc/linuxthreads_db/td_ta_enable_stats.c 28 Dec 2001 16:41:29 -0000 1.4
122 /* Enable collection of statistics for process.
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_ta_enable_stats (const td_thragent_t *ta, int enable)
131 /* XXX We have to figure out what has to be done. */
132 - LOG (__FUNCTION__);
133 + LOG ("td_ta_enable_stats");
135 /* Test whether the TA parameter is ok. */
137 Index: td_ta_event_addr.c
138 ===================================================================
139 --- glibc-2.1.3/linuxthreads_db/td_ta_event_addr.c~ Tue Nov 9 21:05:07 1999
140 +++ glibc-2.1.3/linuxthreads_db/td_ta_event_addr.c Sun Apr 11 22:23:28 2004
142 td_err_e res = TD_NOEVENT;
143 const char *symbol = NULL;
145 - LOG (__FUNCTION__);
146 + LOG ("td_ta_event_addr");
148 /* Test whether the TA parameter is ok. */
150 Index: td_ta_event_getmsg.c
151 ===================================================================
152 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_event_getmsg.c,v
153 retrieving revision 1.5
154 retrieving revision 1.6
156 --- libc/linuxthreads_db/td_ta_event_getmsg.c 6 Jul 2001 05:27:23 -0000 1.5
157 +++ libc/linuxthreads_db/td_ta_event_getmsg.c 28 Dec 2001 16:41:29 -0000 1.6
160 - Copyright (C) 1999 Free Software Foundation, Inc.
161 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
162 This file is part of the GNU C Library.
163 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
169 - LOG (__FUNCTION__);
170 + LOG ("td_ta_event_getmsg");
172 /* Test whether the TA parameter is ok. */
174 Index: td_ta_get_nthreads.c
175 ===================================================================
176 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_get_nthreads.c,v
177 retrieving revision 1.5
178 retrieving revision 1.6
180 --- libc/linuxthreads_db/td_ta_get_nthreads.c 6 Jul 2001 05:27:23 -0000 1.5
181 +++ libc/linuxthreads_db/td_ta_get_nthreads.c 28 Dec 2001 16:41:29 -0000 1.6
186 - LOG (__FUNCTION__);
187 + LOG ("td_ta_get_nthreads");
189 /* Test whether the TA parameter is ok. */
191 Index: td_ta_get_ph.c
192 ===================================================================
193 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_get_ph.c,v
194 retrieving revision 1.3
195 retrieving revision 1.4
197 --- libc/linuxthreads_db/td_ta_get_ph.c 6 Jul 2001 05:27:23 -0000 1.3
198 +++ libc/linuxthreads_db/td_ta_get_ph.c 28 Dec 2001 16:41:29 -0000 1.4
200 /* Get external process handle.
201 - Copyright (C) 1999 Free Software Foundation, Inc.
202 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
203 This file is part of the GNU C Library.
204 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
208 td_ta_get_ph (const td_thragent_t *ta, struct ps_prochandle **ph)
210 - LOG (__FUNCTION__);
211 + LOG ("td_ta_get_ph");
213 /* Test whether the TA parameter is ok. */
215 Index: td_ta_get_stats.c
216 ===================================================================
217 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_get_stats.c,v
218 retrieving revision 1.3
219 retrieving revision 1.4
221 --- libc/linuxthreads_db/td_ta_get_stats.c 6 Jul 2001 05:27:23 -0000 1.3
222 +++ libc/linuxthreads_db/td_ta_get_stats.c 28 Dec 2001 16:41:29 -0000 1.4
224 /* Retrieve statistics for process.
225 - Copyright (C) 1999 Free Software Foundation, Inc.
226 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
227 This file is part of the GNU C Library.
228 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
231 td_ta_get_stats (const td_thragent_t *ta, td_ta_stats_t *statsp)
233 /* XXX We have to figure out what has to be done. */
234 - LOG (__FUNCTION__);
235 + LOG ("td_ta_get_stats");
237 /* Test whether the TA parameter is ok. */
239 Index: td_ta_map_id2thr.c
240 ===================================================================
241 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_map_id2thr.c,v
242 retrieving revision 1.4
243 retrieving revision 1.5
245 --- libc/linuxthreads_db/td_ta_map_id2thr.c 6 Jul 2001 05:27:23 -0000 1.4
246 +++ libc/linuxthreads_db/td_ta_map_id2thr.c 28 Dec 2001 16:41:29 -0000 1.5
248 struct _pthread_descr_struct pds;
249 int pthread_threads_max;
251 - LOG (__FUNCTION__);
252 + LOG ("td_ta_map_id2thr");
254 /* Test whether the TA parameter is ok. */
256 Index: td_ta_map_lwp2thr.c
257 ===================================================================
258 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_map_lwp2thr.c,v
259 retrieving revision 1.5
260 retrieving revision 1.6
262 --- libc/linuxthreads_db/td_ta_map_lwp2thr.c 6 Jul 2001 05:27:23 -0000 1.5
263 +++ libc/linuxthreads_db/td_ta_map_lwp2thr.c 28 Dec 2001 16:41:29 -0000 1.6
265 /* Which thread is running on an lwp?
266 - Copyright (C) 1999 Free Software Foundation, Inc.
267 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
268 This file is part of the GNU C Library.
269 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
275 - LOG (__FUNCTION__);
276 + LOG ("td_ta_map_lwp2thr");
278 /* Test whether the TA parameter is ok. */
281 ===================================================================
282 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_new.c,v
283 retrieving revision 1.10
284 retrieving revision 1.11
285 diff -u -r1.10 -r1.11
286 --- libc/linuxthreads_db/td_ta_new.c 6 Jul 2001 05:27:23 -0000 1.10
287 +++ libc/linuxthreads_db/td_ta_new.c 28 Dec 2001 16:41:29 -0000 1.11
290 struct agent_list *elemp;
292 - LOG (__FUNCTION__);
295 /* Get the global event mask. This is one of the variables which
296 are new in the thread library to enable debugging. If it is
297 Index: td_ta_reset_stats.c
298 ===================================================================
299 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_reset_stats.c,v
300 retrieving revision 1.3
301 retrieving revision 1.4
303 --- libc/linuxthreads_db/td_ta_reset_stats.c 6 Jul 2001 05:27:23 -0000 1.3
304 +++ libc/linuxthreads_db/td_ta_reset_stats.c 28 Dec 2001 16:41:29 -0000 1.4
307 - Copyright (C) 1999 Free Software Foundation, Inc.
308 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
309 This file is part of the GNU C Library.
310 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
313 td_ta_reset_stats (const td_thragent_t *ta)
315 /* XXX We have to figure out what has to be done. */
316 - LOG (__FUNCTION__);
317 + LOG ("td_ta_reset_stats");
319 /* Test whether the TA parameter is ok. */
321 Index: td_ta_set_event.c
322 ===================================================================
323 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_set_event.c,v
324 retrieving revision 1.4
325 retrieving revision 1.5
327 --- libc/linuxthreads_db/td_ta_set_event.c 6 Jul 2001 05:27:23 -0000 1.4
328 +++ libc/linuxthreads_db/td_ta_set_event.c 28 Dec 2001 16:41:29 -0000 1.5
330 /* Globally enable events.
331 - Copyright (C) 1999 Free Software Foundation, Inc.
332 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
333 This file is part of the GNU C Library.
334 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
337 td_thr_events_t old_event;
340 - LOG (__FUNCTION__);
341 + LOG ("td_ta_set_event");
343 /* Test whether the TA parameter is ok. */
345 Index: td_ta_setconcurrency.c
346 ===================================================================
347 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_setconcurrency.c,v
348 retrieving revision 1.3
349 retrieving revision 1.4
351 --- libc/linuxthreads_db/td_ta_setconcurrency.c 6 Jul 2001 05:27:23 -0000 1.3
352 +++ libc/linuxthreads_db/td_ta_setconcurrency.c 28 Dec 2001 16:41:29 -0000 1.4
354 /* Set suggested concurrency level for process.
355 - Copyright (C) 1999 Free Software Foundation, Inc.
356 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
357 This file is part of the GNU C Library.
358 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
361 td_ta_setconcurrency (const td_thragent_t *ta, int level)
363 /* This is something LinuxThreads does not support. */
364 - LOG (__FUNCTION__);
365 + LOG ("td_ta_setconcurrency");
367 /* Test whether the TA parameter is ok. */
369 Index: td_ta_thr_iter.c
370 ===================================================================
371 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_thr_iter.c,v
372 retrieving revision 1.11
373 retrieving revision 1.12
374 diff -u -r1.11 -r1.12
375 --- libc/linuxthreads_db/td_ta_thr_iter.c 6 Jul 2001 05:27:23 -0000 1.11
376 +++ libc/linuxthreads_db/td_ta_thr_iter.c 28 Dec 2001 16:41:29 -0000 1.12
381 - LOG (__FUNCTION__);
382 + LOG ("td_ta_thr_iter");
384 /* Test whether the TA parameter is ok. */
386 Index: td_ta_tsd_iter.c
387 ===================================================================
388 RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_tsd_iter.c,v
389 retrieving revision 1.4
390 retrieving revision 1.5
392 --- libc/linuxthreads_db/td_ta_tsd_iter.c 6 Jul 2001 05:27:23 -0000 1.4
393 +++ libc/linuxthreads_db/td_ta_tsd_iter.c 28 Dec 2001 16:41:29 -0000 1.5
395 int pthread_keys_max;
398 - LOG (__FUNCTION__);
399 + LOG ("td_ta_tsd_iter");
401 /* Test whether the TA parameter is ok. */
403 Index: td_thr_clear_event.c
404 ===================================================================
405 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_clear_event.c,v
406 retrieving revision 1.3
407 retrieving revision 1.4
409 --- libc/linuxthreads_db/td_thr_clear_event.c 6 Jul 2001 05:27:23 -0000 1.3
410 +++ libc/linuxthreads_db/td_thr_clear_event.c 28 Dec 2001 16:41:29 -0000 1.4
412 /* Disable specific event for thread.
413 - Copyright (C) 1999 Free Software Foundation, Inc.
414 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
415 This file is part of the GNU C Library.
416 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
419 td_thr_events_t old_event;
422 - LOG (__FUNCTION__);
423 + LOG ("td_thr_clear_event");
425 /* Write the new value into the thread data structure. */
426 if (ps_pdread (th->th_ta_p->ph,
427 Index: td_thr_dbresume.c
428 ===================================================================
429 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_dbresume.c,v
430 retrieving revision 1.2
431 retrieving revision 1.3
433 --- libc/linuxthreads_db/td_thr_dbresume.c 6 Jul 2001 05:27:23 -0000 1.2
434 +++ libc/linuxthreads_db/td_thr_dbresume.c 28 Dec 2001 16:41:29 -0000 1.3
436 /* Resume execution of given thread.
437 - Copyright (C) 1999 Free Software Foundation, Inc.
438 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
439 This file is part of the GNU C Library.
440 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
443 td_thr_dbresume (const td_thrhandle_t *th)
445 /* XXX We have to figure out what has to be done. */
446 - LOG (__FUNCTION__);
447 + LOG ("td_thr_dbresume");
450 Index: td_thr_dbsuspend.c
451 ===================================================================
452 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_dbsuspend.c,v
453 retrieving revision 1.2
454 retrieving revision 1.3
456 --- libc/linuxthreads_db/td_thr_dbsuspend.c 6 Jul 2001 05:27:23 -0000 1.2
457 +++ libc/linuxthreads_db/td_thr_dbsuspend.c 28 Dec 2001 16:41:29 -0000 1.3
459 /* Suspend execution of given thread.
460 - Copyright (C) 1999 Free Software Foundation, Inc.
461 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
462 This file is part of the GNU C Library.
463 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
466 td_thr_dbsuspend (const td_thrhandle_t *th)
468 /* XXX We have to figure out what has to be done. */
469 - LOG (__FUNCTION__);
470 + LOG ("td_thr_dbsuspend");
473 Index: td_thr_event_enable.c
474 ===================================================================
475 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_event_enable.c,v
476 retrieving revision 1.3
477 retrieving revision 1.4
479 --- libc/linuxthreads_db/td_thr_event_enable.c 6 Jul 2001 05:27:23 -0000 1.3
480 +++ libc/linuxthreads_db/td_thr_event_enable.c 28 Dec 2001 16:41:29 -0000 1.4
482 /* Enable event process-wide.
483 - Copyright (C) 1999 Free Software Foundation, Inc.
484 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
485 This file is part of the GNU C Library.
486 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
489 const td_thrhandle_t *th;
492 - LOG (__FUNCTION__);
493 + LOG ("td_thr_event_enable");
495 /* Write the new value into the thread data structure. */
496 if (ps_pdwrite (th->th_ta_p->ph,
497 Index: td_thr_event_getmsg.c
498 ===================================================================
499 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_event_getmsg.c,v
500 retrieving revision 1.3
501 retrieving revision 1.4
503 --- libc/linuxthreads_db/td_thr_event_getmsg.c 6 Jul 2001 05:27:23 -0000 1.3
504 +++ libc/linuxthreads_db/td_thr_event_getmsg.c 28 Dec 2001 16:41:29 -0000 1.4
507 - Copyright (C) 1999 Free Software Foundation, Inc.
508 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
509 This file is part of the GNU C Library.
510 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
516 - LOG (__FUNCTION__);
517 + LOG ("td_thr_event_getmsg");
519 /* Read the even structure from the target. */
520 if (ps_pdread (th->th_ta_p->ph,
521 Index: td_thr_get_info.c
522 ===================================================================
523 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_get_info.c,v
524 retrieving revision 1.9
525 retrieving revision 1.10
527 --- libc/linuxthreads_db/td_thr_get_info.c 6 Jul 2001 05:27:23 -0000 1.9
528 +++ libc/linuxthreads_db/td_thr_get_info.c 28 Dec 2001 16:41:29 -0000 1.10
531 struct _pthread_descr_struct pds;
533 - LOG (__FUNCTION__);
534 + LOG ("td_thr_get_info");
536 /* Get the thread descriptor. */
537 if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
538 Index: td_thr_getfpregs.c
539 ===================================================================
540 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_getfpregs.c,v
541 retrieving revision 1.4
542 retrieving revision 1.5
544 --- libc/linuxthreads_db/td_thr_getfpregs.c 6 Jul 2001 05:27:23 -0000 1.4
545 +++ libc/linuxthreads_db/td_thr_getfpregs.c 28 Dec 2001 16:41:29 -0000 1.5
548 struct _pthread_descr_struct pds;
550 - LOG (__FUNCTION__);
551 + LOG ("td_thr_getfpregs");
553 /* We have to get the state and the PID for this thread. */
554 if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
555 Index: td_thr_getgregs.c
556 ===================================================================
557 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_getgregs.c,v
558 retrieving revision 1.8
559 retrieving revision 1.9
561 --- libc/linuxthreads_db/td_thr_getgregs.c 6 Jul 2001 05:27:23 -0000 1.8
562 +++ libc/linuxthreads_db/td_thr_getgregs.c 28 Dec 2001 16:41:29 -0000 1.9
565 struct _pthread_descr_struct pds;
567 - LOG (__FUNCTION__);
568 + LOG ("td_thr_getgregs");
570 /* We have to get the state and the PID for this thread. */
571 if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
572 Index: td_thr_getxregs.c
573 ===================================================================
574 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_getxregs.c,v
575 retrieving revision 1.2
576 retrieving revision 1.3
578 --- libc/linuxthreads_db/td_thr_getxregs.c 6 Jul 2001 05:27:23 -0000 1.2
579 +++ libc/linuxthreads_db/td_thr_getxregs.c 28 Dec 2001 16:41:29 -0000 1.3
581 /* Get a thread's extra state register set.
582 - Copyright (C) 1999 Free Software Foundation, Inc.
583 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
584 This file is part of the GNU C Library.
585 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
588 td_thr_getxregs (const td_thrhandle_t *th, void *xregs)
590 /* XXX This might be platform specific. */
591 - LOG (__FUNCTION__);
592 + LOG ("td_thr_getxregs");
595 Index: td_thr_getxregsize.c
596 ===================================================================
597 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_getxregsize.c,v
598 retrieving revision 1.2
599 retrieving revision 1.3
601 --- libc/linuxthreads_db/td_thr_getxregsize.c 6 Jul 2001 05:27:23 -0000 1.2
602 +++ libc/linuxthreads_db/td_thr_getxregsize.c 28 Dec 2001 16:41:29 -0000 1.3
604 /* Get the size of the extra state register set for this architecture.
605 - Copyright (C) 1999 Free Software Foundation, Inc.
606 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
607 This file is part of the GNU C Library.
608 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
611 td_thr_getxregsize (const td_thrhandle_t *th, int *sizep)
613 /* XXX This might be platform specific. */
614 - LOG (__FUNCTION__);
615 + LOG ("td_thr_getxregsize");
618 Index: td_thr_set_event.c
619 ===================================================================
620 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_set_event.c,v
621 retrieving revision 1.4
622 retrieving revision 1.5
624 --- libc/linuxthreads_db/td_thr_set_event.c 6 Jul 2001 05:27:23 -0000 1.4
625 +++ libc/linuxthreads_db/td_thr_set_event.c 28 Dec 2001 16:41:29 -0000 1.5
627 /* Enable specific event for thread.
628 - Copyright (C) 1999 Free Software Foundation, Inc.
629 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
630 This file is part of the GNU C Library.
631 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
634 td_thr_events_t old_event;
637 - LOG (__FUNCTION__);
638 + LOG ("td_thr_set_event");
640 /* Write the new value into the thread data structure. */
641 if (ps_pdread (th->th_ta_p->ph,
642 Index: td_thr_setfpregs.c
643 ===================================================================
644 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_setfpregs.c,v
645 retrieving revision 1.4
646 retrieving revision 1.5
648 --- libc/linuxthreads_db/td_thr_setfpregs.c 6 Jul 2001 05:27:23 -0000 1.4
649 +++ libc/linuxthreads_db/td_thr_setfpregs.c 28 Dec 2001 16:41:29 -0000 1.5
652 struct _pthread_descr_struct pds;
654 - LOG (__FUNCTION__);
655 + LOG ("td_thr_setfpregs");
657 /* We have to get the state and the PID for this thread. */
658 if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
659 Index: td_thr_setgregs.c
660 ===================================================================
661 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_setgregs.c,v
662 retrieving revision 1.6
663 retrieving revision 1.7
665 --- libc/linuxthreads_db/td_thr_setgregs.c 6 Jul 2001 05:27:23 -0000 1.6
666 +++ libc/linuxthreads_db/td_thr_setgregs.c 28 Dec 2001 16:41:29 -0000 1.7
669 struct _pthread_descr_struct pds;
671 - LOG (__FUNCTION__);
672 + LOG ("td_thr_setgregs");
674 /* We have to get the state and the PID for this thread. */
675 if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
676 Index: td_thr_setprio.c
677 ===================================================================
678 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_setprio.c,v
679 retrieving revision 1.2
680 retrieving revision 1.3
682 --- libc/linuxthreads_db/td_thr_setprio.c 6 Jul 2001 05:27:23 -0000 1.2
683 +++ libc/linuxthreads_db/td_thr_setprio.c 28 Dec 2001 16:41:29 -0000 1.3
685 /* Set a thread's priority.
686 - Copyright (C) 1999 Free Software Foundation, Inc.
687 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
688 This file is part of the GNU C Library.
689 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
692 td_thr_setprio (const td_thrhandle_t *th, int prio)
694 /* XXX We have to figure out what has to be done. */
695 - LOG (__FUNCTION__);
696 + LOG ("td_thr_setprio");
699 Index: td_thr_setsigpending.c
700 ===================================================================
701 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_setsigpending.c,v
702 retrieving revision 1.2
703 retrieving revision 1.3
705 --- libc/linuxthreads_db/td_thr_setsigpending.c 6 Jul 2001 05:27:23 -0000 1.2
706 +++ libc/linuxthreads_db/td_thr_setsigpending.c 28 Dec 2001 16:41:29 -0000 1.3
708 /* Raise a signal for a thread.
709 - Copyright (C) 1999 Free Software Foundation, Inc.
710 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
711 This file is part of the GNU C Library.
712 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
717 /* XXX We have to figure out what has to be done. */
718 - LOG (__FUNCTION__);
719 + LOG ("td_thr_setsigpending");
722 Index: td_thr_setxregs.c
723 ===================================================================
724 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_setxregs.c,v
725 retrieving revision 1.2
726 retrieving revision 1.3
728 --- libc/linuxthreads_db/td_thr_setxregs.c 6 Jul 2001 05:27:23 -0000 1.2
729 +++ libc/linuxthreads_db/td_thr_setxregs.c 28 Dec 2001 16:41:29 -0000 1.3
731 /* Set a thread's extra state register set.
732 - Copyright (C) 1999 Free Software Foundation, Inc.
733 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
734 This file is part of the GNU C Library.
735 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
738 td_thr_setxregs (const td_thrhandle_t *ta, const void *addr)
740 /* XXX This might have to be platform specific. */
741 - LOG (__FUNCTION__);
742 + LOG ("td_thr_setxregs");
745 Index: td_thr_sigsetmask.c
746 ===================================================================
747 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_sigsetmask.c,v
748 retrieving revision 1.2
749 retrieving revision 1.3
751 --- libc/linuxthreads_db/td_thr_sigsetmask.c 6 Jul 2001 05:27:23 -0000 1.2
752 +++ libc/linuxthreads_db/td_thr_sigsetmask.c 28 Dec 2001 16:41:29 -0000 1.3
754 /* Set a thread's signal mask.
755 - Copyright (C) 1999 Free Software Foundation, Inc.
756 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
757 This file is part of the GNU C Library.
758 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
761 td_thr_sigsetmask (const td_thrhandle_t *th, const sigset_t *ss)
763 /* XXX We have to figure out what has to be done. */
764 - LOG (__FUNCTION__);
765 + LOG ("td_thr_sigsetmask");
769 ===================================================================
770 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_tsd.c,v
771 retrieving revision 1.2
772 retrieving revision 1.3
774 --- libc/linuxthreads_db/td_thr_tsd.c 6 Jul 2001 05:27:23 -0000 1.2
775 +++ libc/linuxthreads_db/td_thr_tsd.c 28 Dec 2001 16:41:29 -0000 1.3
777 /* Get a thread-specific data pointer for a thread.
778 - Copyright (C) 1999 Free Software Foundation, Inc.
779 + Copyright (C) 1999, 2001 Free Software Foundation, Inc.
780 This file is part of the GNU C Library.
781 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
787 - LOG (__FUNCTION__);
788 + LOG ("td_thr_tsd");
790 /* Get the thread descriptor. */
791 if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
792 Index: td_thr_validate.c
793 ===================================================================
794 RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_validate.c,v
795 retrieving revision 1.4
796 retrieving revision 1.5
798 --- libc/linuxthreads_db/td_thr_validate.c 6 Jul 2001 05:27:23 -0000 1.4
799 +++ libc/linuxthreads_db/td_thr_validate.c 28 Dec 2001 16:41:29 -0000 1.5
801 int pthread_threads_max = th->th_ta_p->pthread_threads_max;
804 - LOG (__FUNCTION__);
805 + LOG ("td_thr_validate");
807 /* Now get all descriptors, one after the other. */
808 for (cnt = 0; cnt < pthread_threads_max; ++cnt, ++handles)