patches/glibc/linuxthreads-2.2.5/glibc-2.2.5-allow-gcc-3.4-td.patch
changeset 182 223c84ec2d90
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/glibc/linuxthreads-2.2.5/glibc-2.2.5-allow-gcc-3.4-td.patch	Sun Jul 01 19:04:20 2007 +0000
     1.3 @@ -0,0 +1,881 @@
     1.4 +Fixes following error building glibc-2.2.5 with gcc-3.4:
     1.5 +td_init.c: In function `td_init':
     1.6 +td_init.c:30: error: parse error before string constant
     1.7 +td_init.c:30: error: parse error before string constant
     1.8 +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
     1.9 +
    1.10 +# Retrieved by diffing a +-1 day rng around the time mentioned
    1.11 +# in http://sources.redhat.com/ml/glibc-cvs/2001-q4/msg00654.html
    1.12 +# 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"
    1.13 +# then fixing paths.
    1.14 +
    1.15 +Index: ChangeLog
    1.16 +===================================================================
    1.17 +RCS file: /cvs/glibc/libc/linuxthreads_db/ChangeLog,v
    1.18 +retrieving revision 1.41
    1.19 +retrieving revision 1.42
    1.20 +diff -u -r1.41 -r1.42
    1.21 +--- libc/linuxthreads_db/ChangeLog	13 Apr 2001 00:09:54 -0000	1.41
    1.22 ++++ libc/linuxthreads_db/ChangeLog	29 Dec 2001 00:59:58 -0000	1.42
    1.23 +@@ -1,3 +1,43 @@
    1.24 ++2001-12-28  Andreas Jaeger  <aj@suse.de>
    1.25 ++
    1.26 ++	* td_init.c (td_init): Don't use __FUNCTION__ as literal.
    1.27 ++	* td_log.c (td_log): Likewise.
    1.28 ++	* td_ta_delete.c (td_ta_delete): Likewise.
    1.29 ++	* td_ta_get_nthreads.c (td_ta_get_nthreads): Likewise.
    1.30 ++	* td_ta_get_ph.c (td_ta_get_ph): Likewise.
    1.31 ++	* td_ta_map_id2thr.c (td_ta_map_id2thr): Likewise.
    1.32 ++	* td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Likewise.
    1.33 ++	* td_ta_new.c (td_ta_new): Likewise.
    1.34 ++	* td_ta_clear_event.c (td_ta_clear_event): Likewise.
    1.35 ++	* td_ta_enable_stats.c (td_ta_enable_stats): Likewise.
    1.36 ++	* td_ta_event_addr.c (td_ta_event_addr): Likewise.
    1.37 ++	* td_ta_event_getmsg.c (td_ta_event_getmsg): Likewise.
    1.38 ++	* td_ta_get_stats.c (td_ta_get_stats): Likewise.
    1.39 ++	* td_ta_reset_stats.c (td_ta_reset_stats): Likewise.
    1.40 ++	* td_ta_set_event.c (td_ta_set_event): Likewise.
    1.41 ++	* td_ta_setconcurrency.c (td_ta_setconcurrency): Likewise.
    1.42 ++	* td_ta_thr_iter.c (td_ta_thr_iter): Likewise.
    1.43 ++	* td_ta_tsd_iter.c (td_ta_tsd_iter): Likewise.
    1.44 ++	* td_thr_clear_event.c (td_thr_clear_event): Likewise.
    1.45 ++	* td_thr_dbresume.c (td_thr_dbresume): Likewise.
    1.46 ++	* td_thr_dbsuspend.c (td_thr_dbsuspend): Likewise.
    1.47 ++	* td_thr_event_enable.c (td_thr_event_enable): Likewise.
    1.48 ++	* td_thr_event_getmsg.c (td_thr_event_getmsg): Likewise.
    1.49 ++	* td_thr_get_info.c (td_thr_get_info): Likewise.
    1.50 ++	* td_thr_getfpregs.c (td_thr_getfpregs): Likewise.
    1.51 ++	* td_thr_getgregs.c (td_thr_getgregs): Likewise.
    1.52 ++	* td_thr_getxregs.c (td_thr_getxregs): Likewise.
    1.53 ++	* td_thr_getxregsize.c (td_thr_getxregsize): Likewise.
    1.54 ++	* td_thr_set_event.c (td_thr_set_event): Likewise.
    1.55 ++	* td_thr_setfpregs.c (td_thr_setfpregs): Likewise.
    1.56 ++	* td_thr_setgregs.c (td_thr_setgregs): Likewise.
    1.57 ++	* td_thr_setprio.c (td_thr_setprio): Likewise.
    1.58 ++	* td_thr_setsigpending.c (td_thr_setsigpending): Likewise.
    1.59 ++	* td_thr_setxregs.c (td_thr_setxregs): Likewise.
    1.60 ++	* td_thr_sigsetmask.c (td_thr_sigsetmask): Likewise.
    1.61 ++	* td_thr_tsd.c (td_thr_tsd): Likewise.
    1.62 ++	* td_thr_validate.c (td_thr_validate): Likewise.
    1.63 ++
    1.64 + 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
    1.65 + 
    1.66 + 	* td_ta_map_id2thr.c: If thread terminated return TD_NOTHR.
    1.67 +Index: td_init.c
    1.68 +===================================================================
    1.69 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_init.c,v
    1.70 +retrieving revision 1.3
    1.71 +retrieving revision 1.4
    1.72 +diff -u -r1.3 -r1.4
    1.73 +--- libc/linuxthreads_db/td_init.c	6 Jul 2001 05:27:23 -0000	1.3
    1.74 ++++ libc/linuxthreads_db/td_init.c	28 Dec 2001 16:41:29 -0000	1.4
    1.75 +@@ -1,5 +1,5 @@
    1.76 + /* Initialization function of thread debugger support library.
    1.77 +-   Copyright (C) 1999 Free Software Foundation, Inc.
    1.78 ++   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
    1.79 +    This file is part of the GNU C Library.
    1.80 +    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
    1.81 + 
    1.82 +@@ -27,6 +27,6 @@
    1.83 + td_init (void)
    1.84 + {
    1.85 +   /* XXX We have to figure out what has to be done.  */
    1.86 +-  LOG (__FUNCTION__);
    1.87 ++  LOG ("td_init");
    1.88 +   return TD_OK;
    1.89 + }
    1.90 +Index: td_log.c
    1.91 +===================================================================
    1.92 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_log.c,v
    1.93 +retrieving revision 1.2
    1.94 +retrieving revision 1.3
    1.95 +diff -u -r1.2 -r1.3
    1.96 +--- libc/linuxthreads_db/td_log.c	6 Jul 2001 05:27:23 -0000	1.2
    1.97 ++++ libc/linuxthreads_db/td_log.c	28 Dec 2001 16:41:29 -0000	1.3
    1.98 +@@ -1,5 +1,5 @@
    1.99 + /* Noop, left for historical reasons.
   1.100 +-   Copyright (C) 1999 Free Software Foundation, Inc.
   1.101 ++   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
   1.102 +    This file is part of the GNU C Library.
   1.103 +    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
   1.104 + 
   1.105 +@@ -25,8 +25,8 @@
   1.106 + td_log (void)
   1.107 + {
   1.108 +   /* This interface is deprecated in the Sun interface.  We provide it
   1.109 +-     for compatibility but don't do anyhting ourself.  We might in
   1.110 ++     for compatibility but don't do anything ourself.  We might in
   1.111 +      future do some logging if this seems reasonable.  */
   1.112 +-  LOG (__FUNCTION__);
   1.113 ++  LOG ("td_log");
   1.114 +   return TD_OK;
   1.115 + }
   1.116 +Index: td_ta_clear_event.c
   1.117 +===================================================================
   1.118 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_clear_event.c,v
   1.119 +retrieving revision 1.3
   1.120 +retrieving revision 1.4
   1.121 +diff -u -r1.3 -r1.4
   1.122 +--- libc/linuxthreads_db/td_ta_clear_event.c	6 Jul 2001 05:27:23 -0000	1.3
   1.123 ++++ libc/linuxthreads_db/td_ta_clear_event.c	28 Dec 2001 16:41:29 -0000	1.4
   1.124 +@@ -1,5 +1,5 @@
   1.125 + /* Globally disable events.
   1.126 +-   Copyright (C) 1999 Free Software Foundation, Inc.
   1.127 ++   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
   1.128 +    This file is part of the GNU C Library.
   1.129 +    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
   1.130 + 
   1.131 +@@ -29,7 +29,7 @@
   1.132 +   td_thr_events_t old_event;
   1.133 +   int i;
   1.134 + 
   1.135 +-  LOG (__FUNCTION__);
   1.136 ++  LOG ("td_ta_clear_event");
   1.137 + 
   1.138 +   /* Test whether the TA parameter is ok.  */
   1.139 +   if (! ta_ok (ta))
   1.140 +Index: td_ta_delete.c
   1.141 +===================================================================
   1.142 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_delete.c,v
   1.143 +retrieving revision 1.3
   1.144 +retrieving revision 1.4
   1.145 +diff -u -r1.3 -r1.4
   1.146 +--- libc/linuxthreads_db/td_ta_delete.c	6 Jul 2001 05:27:23 -0000	1.3
   1.147 ++++ libc/linuxthreads_db/td_ta_delete.c	28 Dec 2001 16:41:29 -0000	1.4
   1.148 +@@ -1,5 +1,5 @@
   1.149 + /* Detach to target process.
   1.150 +-   Copyright (C) 1999 Free Software Foundation, Inc.
   1.151 ++   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
   1.152 +    This file is part of the GNU C Library.
   1.153 +    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
   1.154 + 
   1.155 +@@ -26,7 +26,7 @@
   1.156 + td_err_e
   1.157 + td_ta_delete (td_thragent_t *ta)
   1.158 + {
   1.159 +-  LOG (__FUNCTION__);
   1.160 ++  LOG ("td_ta_delete");
   1.161 + 
   1.162 +   /* Safety check.  */
   1.163 +   if (ta == NULL || __td_agent_list == NULL)
   1.164 +Index: td_ta_enable_stats.c
   1.165 +===================================================================
   1.166 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_enable_stats.c,v
   1.167 +retrieving revision 1.3
   1.168 +retrieving revision 1.4
   1.169 +diff -u -r1.3 -r1.4
   1.170 +--- libc/linuxthreads_db/td_ta_enable_stats.c	6 Jul 2001 05:27:23 -0000	1.3
   1.171 ++++ libc/linuxthreads_db/td_ta_enable_stats.c	28 Dec 2001 16:41:29 -0000	1.4
   1.172 +@@ -1,5 +1,5 @@
   1.173 + /* Enable collection of statistics for process.
   1.174 +-   Copyright (C) 1999 Free Software Foundation, Inc.
   1.175 ++   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
   1.176 +    This file is part of the GNU C Library.
   1.177 +    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
   1.178 + 
   1.179 +@@ -25,7 +25,7 @@
   1.180 + td_ta_enable_stats (const td_thragent_t *ta, int enable)
   1.181 + {
   1.182 +   /* XXX We have to figure out what has to be done.  */
   1.183 +-  LOG (__FUNCTION__);
   1.184 ++  LOG ("td_ta_enable_stats");
   1.185 + 
   1.186 +   /* Test whether the TA parameter is ok.  */
   1.187 +   if (! ta_ok (ta))
   1.188 +Index: td_ta_event_addr.c
   1.189 +===================================================================
   1.190 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_event_addr.c,v
   1.191 +retrieving revision 1.5
   1.192 +retrieving revision 1.6
   1.193 +diff -u -r1.5 -r1.6
   1.194 +--- libc/linuxthreads_db/td_ta_event_addr.c	6 Jul 2001 05:27:23 -0000	1.5
   1.195 ++++ libc/linuxthreads_db/td_ta_event_addr.c	28 Dec 2001 16:41:29 -0000	1.6
   1.196 +@@ -27,7 +27,7 @@
   1.197 +   td_err_e res = TD_NOEVENT;
   1.198 +   int idx = -1;
   1.199 + 
   1.200 +-  LOG (__FUNCTION__);
   1.201 ++  LOG ("td_ta_event_addr");
   1.202 + 
   1.203 +   /* Test whether the TA parameter is ok.  */
   1.204 +   if (! ta_ok (ta))
   1.205 +Index: td_ta_event_getmsg.c
   1.206 +===================================================================
   1.207 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_event_getmsg.c,v
   1.208 +retrieving revision 1.5
   1.209 +retrieving revision 1.6
   1.210 +diff -u -r1.5 -r1.6
   1.211 +--- libc/linuxthreads_db/td_ta_event_getmsg.c	6 Jul 2001 05:27:23 -0000	1.5
   1.212 ++++ libc/linuxthreads_db/td_ta_event_getmsg.c	28 Dec 2001 16:41:29 -0000	1.6
   1.213 +@@ -1,5 +1,5 @@
   1.214 + /* Retrieve event.
   1.215 +-   Copyright (C) 1999 Free Software Foundation, Inc.
   1.216 ++   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
   1.217 +    This file is part of the GNU C Library.
   1.218 +    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
   1.219 + 
   1.220 +@@ -32,7 +32,7 @@
   1.221 +   td_eventbuf_t event;
   1.222 +   psaddr_t addr;
   1.223 + 
   1.224 +-  LOG (__FUNCTION__);
   1.225 ++  LOG ("td_ta_event_getmsg");
   1.226 + 
   1.227 +   /* Test whether the TA parameter is ok.  */
   1.228 +   if (! ta_ok (ta))
   1.229 +Index: td_ta_get_nthreads.c
   1.230 +===================================================================
   1.231 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_get_nthreads.c,v
   1.232 +retrieving revision 1.5
   1.233 +retrieving revision 1.6
   1.234 +diff -u -r1.5 -r1.6
   1.235 +--- libc/linuxthreads_db/td_ta_get_nthreads.c	6 Jul 2001 05:27:23 -0000	1.5
   1.236 ++++ libc/linuxthreads_db/td_ta_get_nthreads.c	28 Dec 2001 16:41:29 -0000	1.6
   1.237 +@@ -25,7 +25,7 @@
   1.238 + {
   1.239 +   psaddr_t addr;
   1.240 + 
   1.241 +-  LOG (__FUNCTION__);
   1.242 ++  LOG ("td_ta_get_nthreads");
   1.243 + 
   1.244 +   /* Test whether the TA parameter is ok.  */
   1.245 +   if (! ta_ok (ta))
   1.246 +Index: td_ta_get_ph.c
   1.247 +===================================================================
   1.248 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_get_ph.c,v
   1.249 +retrieving revision 1.3
   1.250 +retrieving revision 1.4
   1.251 +diff -u -r1.3 -r1.4
   1.252 +--- libc/linuxthreads_db/td_ta_get_ph.c	6 Jul 2001 05:27:23 -0000	1.3
   1.253 ++++ libc/linuxthreads_db/td_ta_get_ph.c	28 Dec 2001 16:41:29 -0000	1.4
   1.254 +@@ -1,5 +1,5 @@
   1.255 + /* Get external process handle.
   1.256 +-   Copyright (C) 1999 Free Software Foundation, Inc.
   1.257 ++   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
   1.258 +    This file is part of the GNU C Library.
   1.259 +    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
   1.260 + 
   1.261 +@@ -24,7 +24,7 @@
   1.262 + td_err_e
   1.263 + td_ta_get_ph (const td_thragent_t *ta, struct ps_prochandle **ph)
   1.264 + {
   1.265 +-  LOG (__FUNCTION__);
   1.266 ++  LOG ("td_ta_get_ph");
   1.267 + 
   1.268 +   /* Test whether the TA parameter is ok.  */
   1.269 +   if (! ta_ok (ta))
   1.270 +Index: td_ta_get_stats.c
   1.271 +===================================================================
   1.272 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_get_stats.c,v
   1.273 +retrieving revision 1.3
   1.274 +retrieving revision 1.4
   1.275 +diff -u -r1.3 -r1.4
   1.276 +--- libc/linuxthreads_db/td_ta_get_stats.c	6 Jul 2001 05:27:23 -0000	1.3
   1.277 ++++ libc/linuxthreads_db/td_ta_get_stats.c	28 Dec 2001 16:41:29 -0000	1.4
   1.278 +@@ -1,5 +1,5 @@
   1.279 + /* Retrieve statistics for process.
   1.280 +-   Copyright (C) 1999 Free Software Foundation, Inc.
   1.281 ++   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
   1.282 +    This file is part of the GNU C Library.
   1.283 +    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
   1.284 + 
   1.285 +@@ -25,7 +25,7 @@
   1.286 + td_ta_get_stats (const td_thragent_t *ta, td_ta_stats_t *statsp)
   1.287 + {
   1.288 +   /* XXX We have to figure out what has to be done.  */
   1.289 +-  LOG (__FUNCTION__);
   1.290 ++  LOG ("td_ta_get_stats");
   1.291 + 
   1.292 +   /* Test whether the TA parameter is ok.  */
   1.293 +   if (! ta_ok (ta))
   1.294 +Index: td_ta_map_id2thr.c
   1.295 +===================================================================
   1.296 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_map_id2thr.c,v
   1.297 +retrieving revision 1.4
   1.298 +retrieving revision 1.5
   1.299 +diff -u -r1.4 -r1.5
   1.300 +--- libc/linuxthreads_db/td_ta_map_id2thr.c	6 Jul 2001 05:27:23 -0000	1.4
   1.301 ++++ libc/linuxthreads_db/td_ta_map_id2thr.c	28 Dec 2001 16:41:29 -0000	1.5
   1.302 +@@ -28,7 +28,7 @@
   1.303 +   struct _pthread_descr_struct pds;
   1.304 +   int pthread_threads_max;
   1.305 + 
   1.306 +-  LOG (__FUNCTION__);
   1.307 ++  LOG ("td_ta_map_id2thr");
   1.308 + 
   1.309 +   /* Test whether the TA parameter is ok.  */
   1.310 +   if (! ta_ok (ta))
   1.311 +Index: td_ta_map_lwp2thr.c
   1.312 +===================================================================
   1.313 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_map_lwp2thr.c,v
   1.314 +retrieving revision 1.5
   1.315 +retrieving revision 1.6
   1.316 +diff -u -r1.5 -r1.6
   1.317 +--- libc/linuxthreads_db/td_ta_map_lwp2thr.c	6 Jul 2001 05:27:23 -0000	1.5
   1.318 ++++ libc/linuxthreads_db/td_ta_map_lwp2thr.c	28 Dec 2001 16:41:29 -0000	1.6
   1.319 +@@ -1,5 +1,5 @@
   1.320 + /* Which thread is running on an lwp?
   1.321 +-   Copyright (C) 1999 Free Software Foundation, Inc.
   1.322 ++   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
   1.323 +    This file is part of the GNU C Library.
   1.324 +    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
   1.325 + 
   1.326 +@@ -34,7 +34,7 @@
   1.327 + # define num 1
   1.328 + #endif
   1.329 + 
   1.330 +-  LOG (__FUNCTION__);
   1.331 ++  LOG ("td_ta_map_lwp2thr");
   1.332 + 
   1.333 +   /* Test whether the TA parameter is ok.  */
   1.334 +   if (! ta_ok (ta))
   1.335 +Index: td_ta_new.c
   1.336 +===================================================================
   1.337 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_new.c,v
   1.338 +retrieving revision 1.10
   1.339 +retrieving revision 1.11
   1.340 +diff -u -r1.10 -r1.11
   1.341 +--- libc/linuxthreads_db/td_ta_new.c	6 Jul 2001 05:27:23 -0000	1.10
   1.342 ++++ libc/linuxthreads_db/td_ta_new.c	28 Dec 2001 16:41:29 -0000	1.11
   1.343 +@@ -35,7 +35,7 @@
   1.344 +   psaddr_t addr;
   1.345 +   struct agent_list *elemp;
   1.346 + 
   1.347 +-  LOG (__FUNCTION__);
   1.348 ++  LOG ("td_ta_new");
   1.349 + 
   1.350 +   /* Get the global event mask.  This is one of the variables which
   1.351 +      are new in the thread library to enable debugging.  If it is
   1.352 +Index: td_ta_reset_stats.c
   1.353 +===================================================================
   1.354 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_reset_stats.c,v
   1.355 +retrieving revision 1.3
   1.356 +retrieving revision 1.4
   1.357 +diff -u -r1.3 -r1.4
   1.358 +--- libc/linuxthreads_db/td_ta_reset_stats.c	6 Jul 2001 05:27:23 -0000	1.3
   1.359 ++++ libc/linuxthreads_db/td_ta_reset_stats.c	28 Dec 2001 16:41:29 -0000	1.4
   1.360 +@@ -1,5 +1,5 @@
   1.361 + /* Reset statistics.
   1.362 +-   Copyright (C) 1999 Free Software Foundation, Inc.
   1.363 ++   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
   1.364 +    This file is part of the GNU C Library.
   1.365 +    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
   1.366 + 
   1.367 +@@ -25,7 +25,7 @@
   1.368 + td_ta_reset_stats (const td_thragent_t *ta)
   1.369 + {
   1.370 +   /* XXX We have to figure out what has to be done.  */
   1.371 +-  LOG (__FUNCTION__);
   1.372 ++  LOG ("td_ta_reset_stats");
   1.373 + 
   1.374 +   /* Test whether the TA parameter is ok.  */
   1.375 +   if (! ta_ok (ta))
   1.376 +Index: td_ta_set_event.c
   1.377 +===================================================================
   1.378 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_set_event.c,v
   1.379 +retrieving revision 1.4
   1.380 +retrieving revision 1.5
   1.381 +diff -u -r1.4 -r1.5
   1.382 +--- libc/linuxthreads_db/td_ta_set_event.c	6 Jul 2001 05:27:23 -0000	1.4
   1.383 ++++ libc/linuxthreads_db/td_ta_set_event.c	28 Dec 2001 16:41:29 -0000	1.5
   1.384 +@@ -1,5 +1,5 @@
   1.385 + /* Globally enable events.
   1.386 +-   Copyright (C) 1999 Free Software Foundation, Inc.
   1.387 ++   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
   1.388 +    This file is part of the GNU C Library.
   1.389 +    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
   1.390 + 
   1.391 +@@ -29,7 +29,7 @@
   1.392 +   td_thr_events_t old_event;
   1.393 +   int i;
   1.394 + 
   1.395 +-  LOG (__FUNCTION__);
   1.396 ++  LOG ("td_ta_set_event");
   1.397 + 
   1.398 +   /* Test whether the TA parameter is ok.  */
   1.399 +   if (! ta_ok (ta))
   1.400 +Index: td_ta_setconcurrency.c
   1.401 +===================================================================
   1.402 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_setconcurrency.c,v
   1.403 +retrieving revision 1.3
   1.404 +retrieving revision 1.4
   1.405 +diff -u -r1.3 -r1.4
   1.406 +--- libc/linuxthreads_db/td_ta_setconcurrency.c	6 Jul 2001 05:27:23 -0000	1.3
   1.407 ++++ libc/linuxthreads_db/td_ta_setconcurrency.c	28 Dec 2001 16:41:29 -0000	1.4
   1.408 +@@ -1,5 +1,5 @@
   1.409 + /* Set suggested concurrency level for process.
   1.410 +-   Copyright (C) 1999 Free Software Foundation, Inc.
   1.411 ++   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
   1.412 +    This file is part of the GNU C Library.
   1.413 +    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
   1.414 + 
   1.415 +@@ -25,7 +25,7 @@
   1.416 + td_ta_setconcurrency (const td_thragent_t *ta, int level)
   1.417 + {
   1.418 +   /* This is something LinuxThreads does not support.  */
   1.419 +-  LOG (__FUNCTION__);
   1.420 ++  LOG ("td_ta_setconcurrency");
   1.421 + 
   1.422 +   /* Test whether the TA parameter is ok.  */
   1.423 +   if (! ta_ok (ta))
   1.424 +Index: td_ta_thr_iter.c
   1.425 +===================================================================
   1.426 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_thr_iter.c,v
   1.427 +retrieving revision 1.11
   1.428 +retrieving revision 1.12
   1.429 +diff -u -r1.11 -r1.12
   1.430 +--- libc/linuxthreads_db/td_ta_thr_iter.c	6 Jul 2001 05:27:23 -0000	1.11
   1.431 ++++ libc/linuxthreads_db/td_ta_thr_iter.c	28 Dec 2001 16:41:29 -0000	1.12
   1.432 +@@ -1,5 +1,5 @@
   1.433 + /* Iterate over a process's threads.
   1.434 +-   Copyright (C) 1999, 2000 Free Software Foundation, Inc.
   1.435 ++   Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
   1.436 +    This file is part of the GNU C Library.
   1.437 +    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
   1.438 + 
   1.439 +@@ -86,7 +86,7 @@
   1.440 + # define num 1
   1.441 + #endif
   1.442 + 
   1.443 +-  LOG (__FUNCTION__);
   1.444 ++  LOG ("td_ta_thr_iter");
   1.445 + 
   1.446 +   /* Test whether the TA parameter is ok.  */
   1.447 +   if (! ta_ok (ta))
   1.448 +Index: td_ta_tsd_iter.c
   1.449 +===================================================================
   1.450 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_tsd_iter.c,v
   1.451 +retrieving revision 1.4
   1.452 +retrieving revision 1.5
   1.453 +diff -u -r1.4 -r1.5
   1.454 +--- libc/linuxthreads_db/td_ta_tsd_iter.c	6 Jul 2001 05:27:23 -0000	1.4
   1.455 ++++ libc/linuxthreads_db/td_ta_tsd_iter.c	28 Dec 2001 16:41:29 -0000	1.5
   1.456 +@@ -1,5 +1,5 @@
   1.457 + /* Iterate over a process's thread-specific data.
   1.458 +-   Copyright (C) 1999, 2000 Free Software Foundation, Inc.
   1.459 ++   Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
   1.460 +    This file is part of the GNU C Library.
   1.461 +    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
   1.462 + 
   1.463 +@@ -29,7 +29,7 @@
   1.464 +   int pthread_keys_max;
   1.465 +   int cnt;
   1.466 + 
   1.467 +-  LOG (__FUNCTION__);
   1.468 ++  LOG ("td_ta_tsd_iter");
   1.469 + 
   1.470 +   /* Test whether the TA parameter is ok.  */
   1.471 +   if (! ta_ok (ta))
   1.472 +Index: td_thr_clear_event.c
   1.473 +===================================================================
   1.474 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_clear_event.c,v
   1.475 +retrieving revision 1.3
   1.476 +retrieving revision 1.4
   1.477 +diff -u -r1.3 -r1.4
   1.478 +--- libc/linuxthreads_db/td_thr_clear_event.c	6 Jul 2001 05:27:23 -0000	1.3
   1.479 ++++ libc/linuxthreads_db/td_thr_clear_event.c	28 Dec 2001 16:41:29 -0000	1.4
   1.480 +@@ -1,5 +1,5 @@
   1.481 + /* Disable specific event for thread.
   1.482 +-   Copyright (C) 1999 Free Software Foundation, Inc.
   1.483 ++   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
   1.484 +    This file is part of the GNU C Library.
   1.485 +    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
   1.486 + 
   1.487 +@@ -31,7 +31,7 @@
   1.488 +   td_thr_events_t old_event;
   1.489 +   int i;
   1.490 + 
   1.491 +-  LOG (__FUNCTION__);
   1.492 ++  LOG ("td_thr_clear_event");
   1.493 + 
   1.494 +   /* Write the new value into the thread data structure.  */
   1.495 +   if (ps_pdread (th->th_ta_p->ph,
   1.496 +Index: td_thr_dbresume.c
   1.497 +===================================================================
   1.498 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_dbresume.c,v
   1.499 +retrieving revision 1.2
   1.500 +retrieving revision 1.3
   1.501 +diff -u -r1.2 -r1.3
   1.502 +--- libc/linuxthreads_db/td_thr_dbresume.c	6 Jul 2001 05:27:23 -0000	1.2
   1.503 ++++ libc/linuxthreads_db/td_thr_dbresume.c	28 Dec 2001 16:41:29 -0000	1.3
   1.504 +@@ -1,5 +1,5 @@
   1.505 + /* Resume execution of given thread.
   1.506 +-   Copyright (C) 1999 Free Software Foundation, Inc.
   1.507 ++   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
   1.508 +    This file is part of the GNU C Library.
   1.509 +    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
   1.510 + 
   1.511 +@@ -25,6 +25,6 @@
   1.512 + td_thr_dbresume (const td_thrhandle_t *th)
   1.513 + {
   1.514 +   /* XXX We have to figure out what has to be done.  */
   1.515 +-  LOG (__FUNCTION__);
   1.516 ++  LOG ("td_thr_dbresume");
   1.517 +   return TD_NOCAPAB;
   1.518 + }
   1.519 +Index: td_thr_dbsuspend.c
   1.520 +===================================================================
   1.521 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_dbsuspend.c,v
   1.522 +retrieving revision 1.2
   1.523 +retrieving revision 1.3
   1.524 +diff -u -r1.2 -r1.3
   1.525 +--- libc/linuxthreads_db/td_thr_dbsuspend.c	6 Jul 2001 05:27:23 -0000	1.2
   1.526 ++++ libc/linuxthreads_db/td_thr_dbsuspend.c	28 Dec 2001 16:41:29 -0000	1.3
   1.527 +@@ -1,5 +1,5 @@
   1.528 + /* Suspend execution of given thread.
   1.529 +-   Copyright (C) 1999 Free Software Foundation, Inc.
   1.530 ++   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
   1.531 +    This file is part of the GNU C Library.
   1.532 +    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
   1.533 + 
   1.534 +@@ -25,6 +25,6 @@
   1.535 + td_thr_dbsuspend (const td_thrhandle_t *th)
   1.536 + {
   1.537 +   /* XXX We have to figure out what has to be done.  */
   1.538 +-  LOG (__FUNCTION__);
   1.539 ++  LOG ("td_thr_dbsuspend");
   1.540 +   return TD_NOCAPAB;
   1.541 + }
   1.542 +Index: td_thr_event_enable.c
   1.543 +===================================================================
   1.544 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_event_enable.c,v
   1.545 +retrieving revision 1.3
   1.546 +retrieving revision 1.4
   1.547 +diff -u -r1.3 -r1.4
   1.548 +--- libc/linuxthreads_db/td_thr_event_enable.c	6 Jul 2001 05:27:23 -0000	1.3
   1.549 ++++ libc/linuxthreads_db/td_thr_event_enable.c	28 Dec 2001 16:41:29 -0000	1.4
   1.550 +@@ -1,5 +1,5 @@
   1.551 + /* Enable event process-wide.
   1.552 +-   Copyright (C) 1999 Free Software Foundation, Inc.
   1.553 ++   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
   1.554 +    This file is part of the GNU C Library.
   1.555 +    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
   1.556 + 
   1.557 +@@ -28,7 +28,7 @@
   1.558 +      const td_thrhandle_t *th;
   1.559 +      int onoff;
   1.560 + {
   1.561 +-  LOG (__FUNCTION__);
   1.562 ++  LOG ("td_thr_event_enable");
   1.563 + 
   1.564 +   /* Write the new value into the thread data structure.  */
   1.565 +   if (ps_pdwrite (th->th_ta_p->ph,
   1.566 +Index: td_thr_event_getmsg.c
   1.567 +===================================================================
   1.568 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_event_getmsg.c,v
   1.569 +retrieving revision 1.3
   1.570 +retrieving revision 1.4
   1.571 +diff -u -r1.3 -r1.4
   1.572 +--- libc/linuxthreads_db/td_thr_event_getmsg.c	6 Jul 2001 05:27:23 -0000	1.3
   1.573 ++++ libc/linuxthreads_db/td_thr_event_getmsg.c	28 Dec 2001 16:41:29 -0000	1.4
   1.574 +@@ -1,5 +1,5 @@
   1.575 + /* Retrieve event.
   1.576 +-   Copyright (C) 1999 Free Software Foundation, Inc.
   1.577 ++   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
   1.578 +    This file is part of the GNU C Library.
   1.579 +    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
   1.580 + 
   1.581 +@@ -29,7 +29,7 @@
   1.582 + {
   1.583 +   td_eventbuf_t event;
   1.584 + 
   1.585 +-  LOG (__FUNCTION__);
   1.586 ++  LOG ("td_thr_event_getmsg");
   1.587 + 
   1.588 +   /* Read the even structure from the target.  */
   1.589 +   if (ps_pdread (th->th_ta_p->ph,
   1.590 +Index: td_thr_get_info.c
   1.591 +===================================================================
   1.592 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_get_info.c,v
   1.593 +retrieving revision 1.9
   1.594 +retrieving revision 1.10
   1.595 +diff -u -r1.9 -r1.10
   1.596 +--- libc/linuxthreads_db/td_thr_get_info.c	6 Jul 2001 05:27:23 -0000	1.9
   1.597 ++++ libc/linuxthreads_db/td_thr_get_info.c	28 Dec 2001 16:41:29 -0000	1.10
   1.598 +@@ -1,5 +1,5 @@
   1.599 + /* Get thread information.
   1.600 +-   Copyright (C) 1999, 2000 Free Software Foundation, Inc.
   1.601 ++   Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
   1.602 +    This file is part of the GNU C Library.
   1.603 +    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
   1.604 + 
   1.605 +@@ -29,7 +29,7 @@
   1.606 + {
   1.607 +   struct _pthread_descr_struct pds;
   1.608 + 
   1.609 +-  LOG (__FUNCTION__);
   1.610 ++  LOG ("td_thr_get_info");
   1.611 + 
   1.612 +   /* Get the thread descriptor.  */
   1.613 +   if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
   1.614 +Index: td_thr_getfpregs.c
   1.615 +===================================================================
   1.616 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_getfpregs.c,v
   1.617 +retrieving revision 1.4
   1.618 +retrieving revision 1.5
   1.619 +diff -u -r1.4 -r1.5
   1.620 +--- libc/linuxthreads_db/td_thr_getfpregs.c	6 Jul 2001 05:27:23 -0000	1.4
   1.621 ++++ libc/linuxthreads_db/td_thr_getfpregs.c	28 Dec 2001 16:41:29 -0000	1.5
   1.622 +@@ -26,7 +26,7 @@
   1.623 + {
   1.624 +   struct _pthread_descr_struct pds;
   1.625 + 
   1.626 +-  LOG (__FUNCTION__);
   1.627 ++  LOG ("td_thr_getfpregs");
   1.628 + 
   1.629 +   /* We have to get the state and the PID for this thread.  */
   1.630 +   if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
   1.631 +Index: td_thr_getgregs.c
   1.632 +===================================================================
   1.633 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_getgregs.c,v
   1.634 +retrieving revision 1.8
   1.635 +retrieving revision 1.9
   1.636 +diff -u -r1.8 -r1.9
   1.637 +--- libc/linuxthreads_db/td_thr_getgregs.c	6 Jul 2001 05:27:23 -0000	1.8
   1.638 ++++ libc/linuxthreads_db/td_thr_getgregs.c	28 Dec 2001 16:41:29 -0000	1.9
   1.639 +@@ -26,7 +26,7 @@
   1.640 + {
   1.641 +   struct _pthread_descr_struct pds;
   1.642 + 
   1.643 +-  LOG (__FUNCTION__);
   1.644 ++  LOG ("td_thr_getgregs");
   1.645 + 
   1.646 +   /* We have to get the state and the PID for this thread.  */
   1.647 +   if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
   1.648 +Index: td_thr_getxregs.c
   1.649 +===================================================================
   1.650 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_getxregs.c,v
   1.651 +retrieving revision 1.2
   1.652 +retrieving revision 1.3
   1.653 +diff -u -r1.2 -r1.3
   1.654 +--- libc/linuxthreads_db/td_thr_getxregs.c	6 Jul 2001 05:27:23 -0000	1.2
   1.655 ++++ libc/linuxthreads_db/td_thr_getxregs.c	28 Dec 2001 16:41:29 -0000	1.3
   1.656 +@@ -1,5 +1,5 @@
   1.657 + /* Get a thread's extra state register set.
   1.658 +-   Copyright (C) 1999 Free Software Foundation, Inc.
   1.659 ++   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
   1.660 +    This file is part of the GNU C Library.
   1.661 +    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
   1.662 + 
   1.663 +@@ -25,6 +25,6 @@
   1.664 + td_thr_getxregs (const td_thrhandle_t *th, void *xregs)
   1.665 + {
   1.666 +   /* XXX This might be platform specific.  */
   1.667 +-  LOG (__FUNCTION__);
   1.668 ++  LOG ("td_thr_getxregs");
   1.669 +   return TD_NOXREGS;
   1.670 + }
   1.671 +Index: td_thr_getxregsize.c
   1.672 +===================================================================
   1.673 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_getxregsize.c,v
   1.674 +retrieving revision 1.2
   1.675 +retrieving revision 1.3
   1.676 +diff -u -r1.2 -r1.3
   1.677 +--- libc/linuxthreads_db/td_thr_getxregsize.c	6 Jul 2001 05:27:23 -0000	1.2
   1.678 ++++ libc/linuxthreads_db/td_thr_getxregsize.c	28 Dec 2001 16:41:29 -0000	1.3
   1.679 +@@ -1,5 +1,5 @@
   1.680 + /* Get the size of the extra state register set for this architecture.
   1.681 +-   Copyright (C) 1999 Free Software Foundation, Inc.
   1.682 ++   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
   1.683 +    This file is part of the GNU C Library.
   1.684 +    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
   1.685 + 
   1.686 +@@ -25,6 +25,6 @@
   1.687 + td_thr_getxregsize (const td_thrhandle_t *th, int *sizep)
   1.688 + {
   1.689 +   /* XXX This might be platform specific.  */
   1.690 +-  LOG (__FUNCTION__);
   1.691 ++  LOG ("td_thr_getxregsize");
   1.692 +   return TD_NOXREGS;
   1.693 + }
   1.694 +Index: td_thr_set_event.c
   1.695 +===================================================================
   1.696 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_set_event.c,v
   1.697 +retrieving revision 1.4
   1.698 +retrieving revision 1.5
   1.699 +diff -u -r1.4 -r1.5
   1.700 +--- libc/linuxthreads_db/td_thr_set_event.c	6 Jul 2001 05:27:23 -0000	1.4
   1.701 ++++ libc/linuxthreads_db/td_thr_set_event.c	28 Dec 2001 16:41:29 -0000	1.5
   1.702 +@@ -1,5 +1,5 @@
   1.703 + /* Enable specific event for thread.
   1.704 +-   Copyright (C) 1999 Free Software Foundation, Inc.
   1.705 ++   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
   1.706 +    This file is part of the GNU C Library.
   1.707 +    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
   1.708 + 
   1.709 +@@ -31,7 +31,7 @@
   1.710 +   td_thr_events_t old_event;
   1.711 +   int i;
   1.712 + 
   1.713 +-  LOG (__FUNCTION__);
   1.714 ++  LOG ("td_thr_set_event");
   1.715 + 
   1.716 +   /* Write the new value into the thread data structure.  */
   1.717 +   if (ps_pdread (th->th_ta_p->ph,
   1.718 +Index: td_thr_setfpregs.c
   1.719 +===================================================================
   1.720 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_setfpregs.c,v
   1.721 +retrieving revision 1.4
   1.722 +retrieving revision 1.5
   1.723 +diff -u -r1.4 -r1.5
   1.724 +--- libc/linuxthreads_db/td_thr_setfpregs.c	6 Jul 2001 05:27:23 -0000	1.4
   1.725 ++++ libc/linuxthreads_db/td_thr_setfpregs.c	28 Dec 2001 16:41:29 -0000	1.5
   1.726 +@@ -26,7 +26,7 @@
   1.727 + {
   1.728 +   struct _pthread_descr_struct pds;
   1.729 + 
   1.730 +-  LOG (__FUNCTION__);
   1.731 ++  LOG ("td_thr_setfpregs");
   1.732 + 
   1.733 +   /* We have to get the state and the PID for this thread.  */
   1.734 +   if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
   1.735 +Index: td_thr_setgregs.c
   1.736 +===================================================================
   1.737 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_setgregs.c,v
   1.738 +retrieving revision 1.6
   1.739 +retrieving revision 1.7
   1.740 +diff -u -r1.6 -r1.7
   1.741 +--- libc/linuxthreads_db/td_thr_setgregs.c	6 Jul 2001 05:27:23 -0000	1.6
   1.742 ++++ libc/linuxthreads_db/td_thr_setgregs.c	28 Dec 2001 16:41:29 -0000	1.7
   1.743 +@@ -26,7 +26,7 @@
   1.744 + {
   1.745 +   struct _pthread_descr_struct pds;
   1.746 + 
   1.747 +-  LOG (__FUNCTION__);
   1.748 ++  LOG ("td_thr_setgregs");
   1.749 + 
   1.750 +   /* We have to get the state and the PID for this thread.  */
   1.751 +   if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
   1.752 +Index: td_thr_setprio.c
   1.753 +===================================================================
   1.754 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_setprio.c,v
   1.755 +retrieving revision 1.2
   1.756 +retrieving revision 1.3
   1.757 +diff -u -r1.2 -r1.3
   1.758 +--- libc/linuxthreads_db/td_thr_setprio.c	6 Jul 2001 05:27:23 -0000	1.2
   1.759 ++++ libc/linuxthreads_db/td_thr_setprio.c	28 Dec 2001 16:41:29 -0000	1.3
   1.760 +@@ -1,5 +1,5 @@
   1.761 + /* Set a thread's priority.
   1.762 +-   Copyright (C) 1999 Free Software Foundation, Inc.
   1.763 ++   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
   1.764 +    This file is part of the GNU C Library.
   1.765 +    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
   1.766 + 
   1.767 +@@ -25,6 +25,6 @@
   1.768 + td_thr_setprio (const td_thrhandle_t *th, int prio)
   1.769 + {
   1.770 +   /* XXX We have to figure out what has to be done.  */
   1.771 +-  LOG (__FUNCTION__);
   1.772 ++  LOG ("td_thr_setprio");
   1.773 +   return TD_OK;
   1.774 + }
   1.775 +Index: td_thr_setsigpending.c
   1.776 +===================================================================
   1.777 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_setsigpending.c,v
   1.778 +retrieving revision 1.2
   1.779 +retrieving revision 1.3
   1.780 +diff -u -r1.2 -r1.3
   1.781 +--- libc/linuxthreads_db/td_thr_setsigpending.c	6 Jul 2001 05:27:23 -0000	1.2
   1.782 ++++ libc/linuxthreads_db/td_thr_setsigpending.c	28 Dec 2001 16:41:29 -0000	1.3
   1.783 +@@ -1,5 +1,5 @@
   1.784 + /* Raise a signal for a thread.
   1.785 +-   Copyright (C) 1999 Free Software Foundation, Inc.
   1.786 ++   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
   1.787 +    This file is part of the GNU C Library.
   1.788 +    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
   1.789 + 
   1.790 +@@ -26,6 +26,6 @@
   1.791 + 		      const sigset_t *ss)
   1.792 + {
   1.793 +   /* XXX We have to figure out what has to be done.  */
   1.794 +-  LOG (__FUNCTION__);
   1.795 ++  LOG ("td_thr_setsigpending");
   1.796 +   return TD_OK;
   1.797 + }
   1.798 +Index: td_thr_setxregs.c
   1.799 +===================================================================
   1.800 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_setxregs.c,v
   1.801 +retrieving revision 1.2
   1.802 +retrieving revision 1.3
   1.803 +diff -u -r1.2 -r1.3
   1.804 +--- libc/linuxthreads_db/td_thr_setxregs.c	6 Jul 2001 05:27:23 -0000	1.2
   1.805 ++++ libc/linuxthreads_db/td_thr_setxregs.c	28 Dec 2001 16:41:29 -0000	1.3
   1.806 +@@ -1,5 +1,5 @@
   1.807 + /* Set a thread's extra state register set.
   1.808 +-   Copyright (C) 1999 Free Software Foundation, Inc.
   1.809 ++   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
   1.810 +    This file is part of the GNU C Library.
   1.811 +    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
   1.812 + 
   1.813 +@@ -25,6 +25,6 @@
   1.814 + td_thr_setxregs (const td_thrhandle_t *ta, const void *addr)
   1.815 + {
   1.816 +   /* XXX This might have to be platform specific.  */
   1.817 +-  LOG (__FUNCTION__);
   1.818 ++  LOG ("td_thr_setxregs");
   1.819 +   return TD_NOXREGS;
   1.820 + }
   1.821 +Index: td_thr_sigsetmask.c
   1.822 +===================================================================
   1.823 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_sigsetmask.c,v
   1.824 +retrieving revision 1.2
   1.825 +retrieving revision 1.3
   1.826 +diff -u -r1.2 -r1.3
   1.827 +--- libc/linuxthreads_db/td_thr_sigsetmask.c	6 Jul 2001 05:27:23 -0000	1.2
   1.828 ++++ libc/linuxthreads_db/td_thr_sigsetmask.c	28 Dec 2001 16:41:29 -0000	1.3
   1.829 +@@ -1,5 +1,5 @@
   1.830 + /* Set a thread's signal mask.
   1.831 +-   Copyright (C) 1999 Free Software Foundation, Inc.
   1.832 ++   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
   1.833 +    This file is part of the GNU C Library.
   1.834 +    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
   1.835 + 
   1.836 +@@ -25,6 +25,6 @@
   1.837 + td_thr_sigsetmask (const td_thrhandle_t *th, const sigset_t *ss)
   1.838 + {
   1.839 +   /* XXX We have to figure out what has to be done.  */
   1.840 +-  LOG (__FUNCTION__);
   1.841 ++  LOG ("td_thr_sigsetmask");
   1.842 +   return TD_OK;
   1.843 + }
   1.844 +Index: td_thr_tsd.c
   1.845 +===================================================================
   1.846 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_tsd.c,v
   1.847 +retrieving revision 1.2
   1.848 +retrieving revision 1.3
   1.849 +diff -u -r1.2 -r1.3
   1.850 +--- libc/linuxthreads_db/td_thr_tsd.c	6 Jul 2001 05:27:23 -0000	1.2
   1.851 ++++ libc/linuxthreads_db/td_thr_tsd.c	28 Dec 2001 16:41:29 -0000	1.3
   1.852 +@@ -1,5 +1,5 @@
   1.853 + /* Get a thread-specific data pointer for a thread.
   1.854 +-   Copyright (C) 1999 Free Software Foundation, Inc.
   1.855 ++   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
   1.856 +    This file is part of the GNU C Library.
   1.857 +    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
   1.858 + 
   1.859 +@@ -33,7 +33,7 @@
   1.860 +   unsigned int idx2nd;
   1.861 +   void *p;
   1.862 + 
   1.863 +-  LOG (__FUNCTION__);
   1.864 ++  LOG ("td_thr_tsd");
   1.865 + 
   1.866 +   /* Get the thread descriptor.  */
   1.867 +   if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
   1.868 +Index: td_thr_validate.c
   1.869 +===================================================================
   1.870 +RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_validate.c,v
   1.871 +retrieving revision 1.4
   1.872 +retrieving revision 1.5
   1.873 +diff -u -r1.4 -r1.5
   1.874 +--- libc/linuxthreads_db/td_thr_validate.c	6 Jul 2001 05:27:23 -0000	1.4
   1.875 ++++ libc/linuxthreads_db/td_thr_validate.c	28 Dec 2001 16:41:29 -0000	1.5
   1.876 +@@ -28,7 +28,7 @@
   1.877 +   int pthread_threads_max = th->th_ta_p->pthread_threads_max;
   1.878 +   int cnt;
   1.879 + 
   1.880 +-  LOG (__FUNCTION__);
   1.881 ++  LOG ("td_thr_validate");
   1.882 + 
   1.883 +   /* Now get all descriptors, one after the other.  */
   1.884 +   for (cnt = 0; cnt < pthread_threads_max; ++cnt, ++handles)