patches/glibc/linuxthreads-2.1.3/rh62-99-glibc-2.1.3-allow-gcc-3.4-td.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Feb 24 11:00:05 2007 +0000 (2007-02-24)
changeset 1 eeea35fbf182
permissions -rw-r--r--
Add the full crosstool-NG sources to the new repository of its own.
You might just say: 'Yeah! crosstool-NG's got its own repo!".
Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup.
That means I'm putting backups in place in the afternoon.
That also means we've lost history... :-(
yann@1
     1
Fixes following error building glibc-2.2.5 with gcc-3.4:
yann@1
     2
td_init.c: In function `td_init':
yann@1
     3
td_init.c:30: error: parse error before string constant
yann@1
     4
td_init.c:30: error: parse error before string constant
yann@1
     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
yann@1
     6
yann@1
     7
# Retrieved by diffing a +-1 day rng around the time mentioned
yann@1
     8
# in http://sources.redhat.com/ml/glibc-cvs/2001-q4/msg00654.html
yann@1
     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"
yann@1
    10
# then fixing paths.
yann@1
    11
yann@1
    12
# And then removing hunks that don't apply to rh6.2's glibc-2.1.3
yann@1
    13
# (thankfully, all were comments)
yann@1
    14
# and rediffing one hunk for glibc-2.1.3
yann@1
    15
yann@1
    16
Index: td_init.c
yann@1
    17
===================================================================
yann@1
    18
RCS file: /cvs/glibc/libc/linuxthreads_db/td_init.c,v
yann@1
    19
retrieving revision 1.3
yann@1
    20
retrieving revision 1.4
yann@1
    21
diff -u -r1.3 -r1.4
yann@1
    22
--- libc/linuxthreads_db/td_init.c	6 Jul 2001 05:27:23 -0000	1.3
yann@1
    23
+++ libc/linuxthreads_db/td_init.c	28 Dec 2001 16:41:29 -0000	1.4
yann@1
    24
@@ -1,5 +1,5 @@
yann@1
    25
 /* Initialization function of thread debugger support library.
yann@1
    26
-   Copyright (C) 1999 Free Software Foundation, Inc.
yann@1
    27
+   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
yann@1
    28
    This file is part of the GNU C Library.
yann@1
    29
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
yann@1
    30
 
yann@1
    31
@@ -27,6 +27,6 @@
yann@1
    32
 td_init (void)
yann@1
    33
 {
yann@1
    34
   /* XXX We have to figure out what has to be done.  */
yann@1
    35
-  LOG (__FUNCTION__);
yann@1
    36
+  LOG ("td_init");
yann@1
    37
   return TD_OK;
yann@1
    38
 }
yann@1
    39
Index: td_log.c
yann@1
    40
===================================================================
yann@1
    41
RCS file: /cvs/glibc/libc/linuxthreads_db/td_log.c,v
yann@1
    42
retrieving revision 1.2
yann@1
    43
retrieving revision 1.3
yann@1
    44
diff -u -r1.2 -r1.3
yann@1
    45
--- libc/linuxthreads_db/td_log.c	6 Jul 2001 05:27:23 -0000	1.2
yann@1
    46
+++ libc/linuxthreads_db/td_log.c	28 Dec 2001 16:41:29 -0000	1.3
yann@1
    47
@@ -1,5 +1,5 @@
yann@1
    48
 /* Noop, left for historical reasons.
yann@1
    49
-   Copyright (C) 1999 Free Software Foundation, Inc.
yann@1
    50
+   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
yann@1
    51
    This file is part of the GNU C Library.
yann@1
    52
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
yann@1
    53
 
yann@1
    54
@@ -25,8 +25,8 @@
yann@1
    55
 td_log (void)
yann@1
    56
 {
yann@1
    57
   /* This interface is deprecated in the Sun interface.  We provide it
yann@1
    58
-     for compatibility but don't do anyhting ourself.  We might in
yann@1
    59
+     for compatibility but don't do anything ourself.  We might in
yann@1
    60
      future do some logging if this seems reasonable.  */
yann@1
    61
-  LOG (__FUNCTION__);
yann@1
    62
+  LOG ("td_log");
yann@1
    63
   return TD_OK;
yann@1
    64
 }
yann@1
    65
Index: td_ta_clear_event.c
yann@1
    66
===================================================================
yann@1
    67
RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_clear_event.c,v
yann@1
    68
retrieving revision 1.3
yann@1
    69
retrieving revision 1.4
yann@1
    70
diff -u -r1.3 -r1.4
yann@1
    71
--- libc/linuxthreads_db/td_ta_clear_event.c	6 Jul 2001 05:27:23 -0000	1.3
yann@1
    72
+++ libc/linuxthreads_db/td_ta_clear_event.c	28 Dec 2001 16:41:29 -0000	1.4
yann@1
    73
@@ -1,5 +1,5 @@
yann@1
    74
 /* Globally disable events.
yann@1
    75
-   Copyright (C) 1999 Free Software Foundation, Inc.
yann@1
    76
+   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
yann@1
    77
    This file is part of the GNU C Library.
yann@1
    78
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
yann@1
    79
 
yann@1
    80
@@ -29,7 +29,7 @@
yann@1
    81
   td_thr_events_t old_event;
yann@1
    82
   int i;
yann@1
    83
 
yann@1
    84
-  LOG (__FUNCTION__);
yann@1
    85
+  LOG ("td_ta_clear_event");
yann@1
    86
 
yann@1
    87
   /* Test whether the TA parameter is ok.  */
yann@1
    88
   if (! ta_ok (ta))
yann@1
    89
Index: td_ta_delete.c
yann@1
    90
===================================================================
yann@1
    91
RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_delete.c,v
yann@1
    92
retrieving revision 1.3
yann@1
    93
retrieving revision 1.4
yann@1
    94
diff -u -r1.3 -r1.4
yann@1
    95
--- libc/linuxthreads_db/td_ta_delete.c	6 Jul 2001 05:27:23 -0000	1.3
yann@1
    96
+++ libc/linuxthreads_db/td_ta_delete.c	28 Dec 2001 16:41:29 -0000	1.4
yann@1
    97
@@ -1,5 +1,5 @@
yann@1
    98
 /* Detach to target process.
yann@1
    99
-   Copyright (C) 1999 Free Software Foundation, Inc.
yann@1
   100
+   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
yann@1
   101
    This file is part of the GNU C Library.
yann@1
   102
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
yann@1
   103
 
yann@1
   104
@@ -26,7 +26,7 @@
yann@1
   105
 td_err_e
yann@1
   106
 td_ta_delete (td_thragent_t *ta)
yann@1
   107
 {
yann@1
   108
-  LOG (__FUNCTION__);
yann@1
   109
+  LOG ("td_ta_delete");
yann@1
   110
 
yann@1
   111
   /* Safety check.  */
yann@1
   112
   if (ta == NULL || __td_agent_list == NULL)
yann@1
   113
Index: td_ta_enable_stats.c
yann@1
   114
===================================================================
yann@1
   115
RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_enable_stats.c,v
yann@1
   116
retrieving revision 1.3
yann@1
   117
retrieving revision 1.4
yann@1
   118
diff -u -r1.3 -r1.4
yann@1
   119
--- libc/linuxthreads_db/td_ta_enable_stats.c	6 Jul 2001 05:27:23 -0000	1.3
yann@1
   120
+++ libc/linuxthreads_db/td_ta_enable_stats.c	28 Dec 2001 16:41:29 -0000	1.4
yann@1
   121
@@ -1,5 +1,5 @@
yann@1
   122
 /* Enable collection of statistics for process.
yann@1
   123
-   Copyright (C) 1999 Free Software Foundation, Inc.
yann@1
   124
+   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
yann@1
   125
    This file is part of the GNU C Library.
yann@1
   126
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
yann@1
   127
 
yann@1
   128
@@ -25,7 +25,7 @@
yann@1
   129
 td_ta_enable_stats (const td_thragent_t *ta, int enable)
yann@1
   130
 {
yann@1
   131
   /* XXX We have to figure out what has to be done.  */
yann@1
   132
-  LOG (__FUNCTION__);
yann@1
   133
+  LOG ("td_ta_enable_stats");
yann@1
   134
 
yann@1
   135
   /* Test whether the TA parameter is ok.  */
yann@1
   136
   if (! ta_ok (ta))
yann@1
   137
Index: td_ta_event_addr.c
yann@1
   138
===================================================================
yann@1
   139
--- glibc-2.1.3/linuxthreads_db/td_ta_event_addr.c~	Tue Nov  9 21:05:07 1999
yann@1
   140
+++ glibc-2.1.3/linuxthreads_db/td_ta_event_addr.c	Sun Apr 11 22:23:28 2004
yann@1
   141
@@ -29,7 +29,7 @@
yann@1
   142
   td_err_e res = TD_NOEVENT;
yann@1
   143
   const char *symbol = NULL;
yann@1
   144
 
yann@1
   145
-  LOG (__FUNCTION__);
yann@1
   146
+  LOG ("td_ta_event_addr");
yann@1
   147
 
yann@1
   148
   /* Test whether the TA parameter is ok.  */
yann@1
   149
   if (! ta_ok (ta))
yann@1
   150
Index: td_ta_event_getmsg.c
yann@1
   151
===================================================================
yann@1
   152
RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_event_getmsg.c,v
yann@1
   153
retrieving revision 1.5
yann@1
   154
retrieving revision 1.6
yann@1
   155
diff -u -r1.5 -r1.6
yann@1
   156
--- libc/linuxthreads_db/td_ta_event_getmsg.c	6 Jul 2001 05:27:23 -0000	1.5
yann@1
   157
+++ libc/linuxthreads_db/td_ta_event_getmsg.c	28 Dec 2001 16:41:29 -0000	1.6
yann@1
   158
@@ -1,5 +1,5 @@
yann@1
   159
 /* Retrieve event.
yann@1
   160
-   Copyright (C) 1999 Free Software Foundation, Inc.
yann@1
   161
+   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
yann@1
   162
    This file is part of the GNU C Library.
yann@1
   163
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
yann@1
   164
 
yann@1
   165
@@ -32,7 +32,7 @@
yann@1
   166
   td_eventbuf_t event;
yann@1
   167
   psaddr_t addr;
yann@1
   168
 
yann@1
   169
-  LOG (__FUNCTION__);
yann@1
   170
+  LOG ("td_ta_event_getmsg");
yann@1
   171
 
yann@1
   172
   /* Test whether the TA parameter is ok.  */
yann@1
   173
   if (! ta_ok (ta))
yann@1
   174
Index: td_ta_get_nthreads.c
yann@1
   175
===================================================================
yann@1
   176
RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_get_nthreads.c,v
yann@1
   177
retrieving revision 1.5
yann@1
   178
retrieving revision 1.6
yann@1
   179
diff -u -r1.5 -r1.6
yann@1
   180
--- libc/linuxthreads_db/td_ta_get_nthreads.c	6 Jul 2001 05:27:23 -0000	1.5
yann@1
   181
+++ libc/linuxthreads_db/td_ta_get_nthreads.c	28 Dec 2001 16:41:29 -0000	1.6
yann@1
   182
@@ -25,7 +25,7 @@
yann@1
   183
 {
yann@1
   184
   psaddr_t addr;
yann@1
   185
 
yann@1
   186
-  LOG (__FUNCTION__);
yann@1
   187
+  LOG ("td_ta_get_nthreads");
yann@1
   188
 
yann@1
   189
   /* Test whether the TA parameter is ok.  */
yann@1
   190
   if (! ta_ok (ta))
yann@1
   191
Index: td_ta_get_ph.c
yann@1
   192
===================================================================
yann@1
   193
RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_get_ph.c,v
yann@1
   194
retrieving revision 1.3
yann@1
   195
retrieving revision 1.4
yann@1
   196
diff -u -r1.3 -r1.4
yann@1
   197
--- libc/linuxthreads_db/td_ta_get_ph.c	6 Jul 2001 05:27:23 -0000	1.3
yann@1
   198
+++ libc/linuxthreads_db/td_ta_get_ph.c	28 Dec 2001 16:41:29 -0000	1.4
yann@1
   199
@@ -1,5 +1,5 @@
yann@1
   200
 /* Get external process handle.
yann@1
   201
-   Copyright (C) 1999 Free Software Foundation, Inc.
yann@1
   202
+   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
yann@1
   203
    This file is part of the GNU C Library.
yann@1
   204
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
yann@1
   205
 
yann@1
   206
@@ -24,7 +24,7 @@
yann@1
   207
 td_err_e
yann@1
   208
 td_ta_get_ph (const td_thragent_t *ta, struct ps_prochandle **ph)
yann@1
   209
 {
yann@1
   210
-  LOG (__FUNCTION__);
yann@1
   211
+  LOG ("td_ta_get_ph");
yann@1
   212
 
yann@1
   213
   /* Test whether the TA parameter is ok.  */
yann@1
   214
   if (! ta_ok (ta))
yann@1
   215
Index: td_ta_get_stats.c
yann@1
   216
===================================================================
yann@1
   217
RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_get_stats.c,v
yann@1
   218
retrieving revision 1.3
yann@1
   219
retrieving revision 1.4
yann@1
   220
diff -u -r1.3 -r1.4
yann@1
   221
--- libc/linuxthreads_db/td_ta_get_stats.c	6 Jul 2001 05:27:23 -0000	1.3
yann@1
   222
+++ libc/linuxthreads_db/td_ta_get_stats.c	28 Dec 2001 16:41:29 -0000	1.4
yann@1
   223
@@ -1,5 +1,5 @@
yann@1
   224
 /* Retrieve statistics for process.
yann@1
   225
-   Copyright (C) 1999 Free Software Foundation, Inc.
yann@1
   226
+   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
yann@1
   227
    This file is part of the GNU C Library.
yann@1
   228
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
yann@1
   229
 
yann@1
   230
@@ -25,7 +25,7 @@
yann@1
   231
 td_ta_get_stats (const td_thragent_t *ta, td_ta_stats_t *statsp)
yann@1
   232
 {
yann@1
   233
   /* XXX We have to figure out what has to be done.  */
yann@1
   234
-  LOG (__FUNCTION__);
yann@1
   235
+  LOG ("td_ta_get_stats");
yann@1
   236
 
yann@1
   237
   /* Test whether the TA parameter is ok.  */
yann@1
   238
   if (! ta_ok (ta))
yann@1
   239
Index: td_ta_map_id2thr.c
yann@1
   240
===================================================================
yann@1
   241
RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_map_id2thr.c,v
yann@1
   242
retrieving revision 1.4
yann@1
   243
retrieving revision 1.5
yann@1
   244
diff -u -r1.4 -r1.5
yann@1
   245
--- libc/linuxthreads_db/td_ta_map_id2thr.c	6 Jul 2001 05:27:23 -0000	1.4
yann@1
   246
+++ libc/linuxthreads_db/td_ta_map_id2thr.c	28 Dec 2001 16:41:29 -0000	1.5
yann@1
   247
@@ -28,7 +28,7 @@
yann@1
   248
   struct _pthread_descr_struct pds;
yann@1
   249
   int pthread_threads_max;
yann@1
   250
 
yann@1
   251
-  LOG (__FUNCTION__);
yann@1
   252
+  LOG ("td_ta_map_id2thr");
yann@1
   253
 
yann@1
   254
   /* Test whether the TA parameter is ok.  */
yann@1
   255
   if (! ta_ok (ta))
yann@1
   256
Index: td_ta_map_lwp2thr.c
yann@1
   257
===================================================================
yann@1
   258
RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_map_lwp2thr.c,v
yann@1
   259
retrieving revision 1.5
yann@1
   260
retrieving revision 1.6
yann@1
   261
diff -u -r1.5 -r1.6
yann@1
   262
--- libc/linuxthreads_db/td_ta_map_lwp2thr.c	6 Jul 2001 05:27:23 -0000	1.5
yann@1
   263
+++ libc/linuxthreads_db/td_ta_map_lwp2thr.c	28 Dec 2001 16:41:29 -0000	1.6
yann@1
   264
@@ -1,5 +1,5 @@
yann@1
   265
 /* Which thread is running on an lwp?
yann@1
   266
-   Copyright (C) 1999 Free Software Foundation, Inc.
yann@1
   267
+   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
yann@1
   268
    This file is part of the GNU C Library.
yann@1
   269
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
yann@1
   270
 
yann@1
   271
@@ -34,7 +34,7 @@
yann@1
   272
 # define num 1
yann@1
   273
 #endif
yann@1
   274
 
yann@1
   275
-  LOG (__FUNCTION__);
yann@1
   276
+  LOG ("td_ta_map_lwp2thr");
yann@1
   277
 
yann@1
   278
   /* Test whether the TA parameter is ok.  */
yann@1
   279
   if (! ta_ok (ta))
yann@1
   280
Index: td_ta_new.c
yann@1
   281
===================================================================
yann@1
   282
RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_new.c,v
yann@1
   283
retrieving revision 1.10
yann@1
   284
retrieving revision 1.11
yann@1
   285
diff -u -r1.10 -r1.11
yann@1
   286
--- libc/linuxthreads_db/td_ta_new.c	6 Jul 2001 05:27:23 -0000	1.10
yann@1
   287
+++ libc/linuxthreads_db/td_ta_new.c	28 Dec 2001 16:41:29 -0000	1.11
yann@1
   288
@@ -35,7 +35,7 @@
yann@1
   289
   psaddr_t addr;
yann@1
   290
   struct agent_list *elemp;
yann@1
   291
 
yann@1
   292
-  LOG (__FUNCTION__);
yann@1
   293
+  LOG ("td_ta_new");
yann@1
   294
 
yann@1
   295
   /* Get the global event mask.  This is one of the variables which
yann@1
   296
      are new in the thread library to enable debugging.  If it is
yann@1
   297
Index: td_ta_reset_stats.c
yann@1
   298
===================================================================
yann@1
   299
RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_reset_stats.c,v
yann@1
   300
retrieving revision 1.3
yann@1
   301
retrieving revision 1.4
yann@1
   302
diff -u -r1.3 -r1.4
yann@1
   303
--- libc/linuxthreads_db/td_ta_reset_stats.c	6 Jul 2001 05:27:23 -0000	1.3
yann@1
   304
+++ libc/linuxthreads_db/td_ta_reset_stats.c	28 Dec 2001 16:41:29 -0000	1.4
yann@1
   305
@@ -1,5 +1,5 @@
yann@1
   306
 /* Reset statistics.
yann@1
   307
-   Copyright (C) 1999 Free Software Foundation, Inc.
yann@1
   308
+   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
yann@1
   309
    This file is part of the GNU C Library.
yann@1
   310
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
yann@1
   311
 
yann@1
   312
@@ -25,7 +25,7 @@
yann@1
   313
 td_ta_reset_stats (const td_thragent_t *ta)
yann@1
   314
 {
yann@1
   315
   /* XXX We have to figure out what has to be done.  */
yann@1
   316
-  LOG (__FUNCTION__);
yann@1
   317
+  LOG ("td_ta_reset_stats");
yann@1
   318
 
yann@1
   319
   /* Test whether the TA parameter is ok.  */
yann@1
   320
   if (! ta_ok (ta))
yann@1
   321
Index: td_ta_set_event.c
yann@1
   322
===================================================================
yann@1
   323
RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_set_event.c,v
yann@1
   324
retrieving revision 1.4
yann@1
   325
retrieving revision 1.5
yann@1
   326
diff -u -r1.4 -r1.5
yann@1
   327
--- libc/linuxthreads_db/td_ta_set_event.c	6 Jul 2001 05:27:23 -0000	1.4
yann@1
   328
+++ libc/linuxthreads_db/td_ta_set_event.c	28 Dec 2001 16:41:29 -0000	1.5
yann@1
   329
@@ -1,5 +1,5 @@
yann@1
   330
 /* Globally enable events.
yann@1
   331
-   Copyright (C) 1999 Free Software Foundation, Inc.
yann@1
   332
+   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
yann@1
   333
    This file is part of the GNU C Library.
yann@1
   334
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
yann@1
   335
 
yann@1
   336
@@ -29,7 +29,7 @@
yann@1
   337
   td_thr_events_t old_event;
yann@1
   338
   int i;
yann@1
   339
 
yann@1
   340
-  LOG (__FUNCTION__);
yann@1
   341
+  LOG ("td_ta_set_event");
yann@1
   342
 
yann@1
   343
   /* Test whether the TA parameter is ok.  */
yann@1
   344
   if (! ta_ok (ta))
yann@1
   345
Index: td_ta_setconcurrency.c
yann@1
   346
===================================================================
yann@1
   347
RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_setconcurrency.c,v
yann@1
   348
retrieving revision 1.3
yann@1
   349
retrieving revision 1.4
yann@1
   350
diff -u -r1.3 -r1.4
yann@1
   351
--- libc/linuxthreads_db/td_ta_setconcurrency.c	6 Jul 2001 05:27:23 -0000	1.3
yann@1
   352
+++ libc/linuxthreads_db/td_ta_setconcurrency.c	28 Dec 2001 16:41:29 -0000	1.4
yann@1
   353
@@ -1,5 +1,5 @@
yann@1
   354
 /* Set suggested concurrency level for process.
yann@1
   355
-   Copyright (C) 1999 Free Software Foundation, Inc.
yann@1
   356
+   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
yann@1
   357
    This file is part of the GNU C Library.
yann@1
   358
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
yann@1
   359
 
yann@1
   360
@@ -25,7 +25,7 @@
yann@1
   361
 td_ta_setconcurrency (const td_thragent_t *ta, int level)
yann@1
   362
 {
yann@1
   363
   /* This is something LinuxThreads does not support.  */
yann@1
   364
-  LOG (__FUNCTION__);
yann@1
   365
+  LOG ("td_ta_setconcurrency");
yann@1
   366
 
yann@1
   367
   /* Test whether the TA parameter is ok.  */
yann@1
   368
   if (! ta_ok (ta))
yann@1
   369
Index: td_ta_thr_iter.c
yann@1
   370
===================================================================
yann@1
   371
RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_thr_iter.c,v
yann@1
   372
retrieving revision 1.11
yann@1
   373
retrieving revision 1.12
yann@1
   374
diff -u -r1.11 -r1.12
yann@1
   375
--- libc/linuxthreads_db/td_ta_thr_iter.c	6 Jul 2001 05:27:23 -0000	1.11
yann@1
   376
+++ libc/linuxthreads_db/td_ta_thr_iter.c	28 Dec 2001 16:41:29 -0000	1.12
yann@1
   377
@@ -86,7 +86,7 @@
yann@1
   378
 # define num 1
yann@1
   379
 #endif
yann@1
   380
 
yann@1
   381
-  LOG (__FUNCTION__);
yann@1
   382
+  LOG ("td_ta_thr_iter");
yann@1
   383
 
yann@1
   384
   /* Test whether the TA parameter is ok.  */
yann@1
   385
   if (! ta_ok (ta))
yann@1
   386
Index: td_ta_tsd_iter.c
yann@1
   387
===================================================================
yann@1
   388
RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_tsd_iter.c,v
yann@1
   389
retrieving revision 1.4
yann@1
   390
retrieving revision 1.5
yann@1
   391
diff -u -r1.4 -r1.5
yann@1
   392
--- libc/linuxthreads_db/td_ta_tsd_iter.c	6 Jul 2001 05:27:23 -0000	1.4
yann@1
   393
+++ libc/linuxthreads_db/td_ta_tsd_iter.c	28 Dec 2001 16:41:29 -0000	1.5
yann@1
   394
@@ -29,7 +29,7 @@
yann@1
   395
   int pthread_keys_max;
yann@1
   396
   int cnt;
yann@1
   397
 
yann@1
   398
-  LOG (__FUNCTION__);
yann@1
   399
+  LOG ("td_ta_tsd_iter");
yann@1
   400
 
yann@1
   401
   /* Test whether the TA parameter is ok.  */
yann@1
   402
   if (! ta_ok (ta))
yann@1
   403
Index: td_thr_clear_event.c
yann@1
   404
===================================================================
yann@1
   405
RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_clear_event.c,v
yann@1
   406
retrieving revision 1.3
yann@1
   407
retrieving revision 1.4
yann@1
   408
diff -u -r1.3 -r1.4
yann@1
   409
--- libc/linuxthreads_db/td_thr_clear_event.c	6 Jul 2001 05:27:23 -0000	1.3
yann@1
   410
+++ libc/linuxthreads_db/td_thr_clear_event.c	28 Dec 2001 16:41:29 -0000	1.4
yann@1
   411
@@ -1,5 +1,5 @@
yann@1
   412
 /* Disable specific event for thread.
yann@1
   413
-   Copyright (C) 1999 Free Software Foundation, Inc.
yann@1
   414
+   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
yann@1
   415
    This file is part of the GNU C Library.
yann@1
   416
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
yann@1
   417
 
yann@1
   418
@@ -31,7 +31,7 @@
yann@1
   419
   td_thr_events_t old_event;
yann@1
   420
   int i;
yann@1
   421
 
yann@1
   422
-  LOG (__FUNCTION__);
yann@1
   423
+  LOG ("td_thr_clear_event");
yann@1
   424
 
yann@1
   425
   /* Write the new value into the thread data structure.  */
yann@1
   426
   if (ps_pdread (th->th_ta_p->ph,
yann@1
   427
Index: td_thr_dbresume.c
yann@1
   428
===================================================================
yann@1
   429
RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_dbresume.c,v
yann@1
   430
retrieving revision 1.2
yann@1
   431
retrieving revision 1.3
yann@1
   432
diff -u -r1.2 -r1.3
yann@1
   433
--- libc/linuxthreads_db/td_thr_dbresume.c	6 Jul 2001 05:27:23 -0000	1.2
yann@1
   434
+++ libc/linuxthreads_db/td_thr_dbresume.c	28 Dec 2001 16:41:29 -0000	1.3
yann@1
   435
@@ -1,5 +1,5 @@
yann@1
   436
 /* Resume execution of given thread.
yann@1
   437
-   Copyright (C) 1999 Free Software Foundation, Inc.
yann@1
   438
+   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
yann@1
   439
    This file is part of the GNU C Library.
yann@1
   440
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
yann@1
   441
 
yann@1
   442
@@ -25,6 +25,6 @@
yann@1
   443
 td_thr_dbresume (const td_thrhandle_t *th)
yann@1
   444
 {
yann@1
   445
   /* XXX We have to figure out what has to be done.  */
yann@1
   446
-  LOG (__FUNCTION__);
yann@1
   447
+  LOG ("td_thr_dbresume");
yann@1
   448
   return TD_NOCAPAB;
yann@1
   449
 }
yann@1
   450
Index: td_thr_dbsuspend.c
yann@1
   451
===================================================================
yann@1
   452
RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_dbsuspend.c,v
yann@1
   453
retrieving revision 1.2
yann@1
   454
retrieving revision 1.3
yann@1
   455
diff -u -r1.2 -r1.3
yann@1
   456
--- libc/linuxthreads_db/td_thr_dbsuspend.c	6 Jul 2001 05:27:23 -0000	1.2
yann@1
   457
+++ libc/linuxthreads_db/td_thr_dbsuspend.c	28 Dec 2001 16:41:29 -0000	1.3
yann@1
   458
@@ -1,5 +1,5 @@
yann@1
   459
 /* Suspend execution of given thread.
yann@1
   460
-   Copyright (C) 1999 Free Software Foundation, Inc.
yann@1
   461
+   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
yann@1
   462
    This file is part of the GNU C Library.
yann@1
   463
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
yann@1
   464
 
yann@1
   465
@@ -25,6 +25,6 @@
yann@1
   466
 td_thr_dbsuspend (const td_thrhandle_t *th)
yann@1
   467
 {
yann@1
   468
   /* XXX We have to figure out what has to be done.  */
yann@1
   469
-  LOG (__FUNCTION__);
yann@1
   470
+  LOG ("td_thr_dbsuspend");
yann@1
   471
   return TD_NOCAPAB;
yann@1
   472
 }
yann@1
   473
Index: td_thr_event_enable.c
yann@1
   474
===================================================================
yann@1
   475
RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_event_enable.c,v
yann@1
   476
retrieving revision 1.3
yann@1
   477
retrieving revision 1.4
yann@1
   478
diff -u -r1.3 -r1.4
yann@1
   479
--- libc/linuxthreads_db/td_thr_event_enable.c	6 Jul 2001 05:27:23 -0000	1.3
yann@1
   480
+++ libc/linuxthreads_db/td_thr_event_enable.c	28 Dec 2001 16:41:29 -0000	1.4
yann@1
   481
@@ -1,5 +1,5 @@
yann@1
   482
 /* Enable event process-wide.
yann@1
   483
-   Copyright (C) 1999 Free Software Foundation, Inc.
yann@1
   484
+   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
yann@1
   485
    This file is part of the GNU C Library.
yann@1
   486
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
yann@1
   487
 
yann@1
   488
@@ -28,7 +28,7 @@
yann@1
   489
      const td_thrhandle_t *th;
yann@1
   490
      int onoff;
yann@1
   491
 {
yann@1
   492
-  LOG (__FUNCTION__);
yann@1
   493
+  LOG ("td_thr_event_enable");
yann@1
   494
 
yann@1
   495
   /* Write the new value into the thread data structure.  */
yann@1
   496
   if (ps_pdwrite (th->th_ta_p->ph,
yann@1
   497
Index: td_thr_event_getmsg.c
yann@1
   498
===================================================================
yann@1
   499
RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_event_getmsg.c,v
yann@1
   500
retrieving revision 1.3
yann@1
   501
retrieving revision 1.4
yann@1
   502
diff -u -r1.3 -r1.4
yann@1
   503
--- libc/linuxthreads_db/td_thr_event_getmsg.c	6 Jul 2001 05:27:23 -0000	1.3
yann@1
   504
+++ libc/linuxthreads_db/td_thr_event_getmsg.c	28 Dec 2001 16:41:29 -0000	1.4
yann@1
   505
@@ -1,5 +1,5 @@
yann@1
   506
 /* Retrieve event.
yann@1
   507
-   Copyright (C) 1999 Free Software Foundation, Inc.
yann@1
   508
+   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
yann@1
   509
    This file is part of the GNU C Library.
yann@1
   510
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
yann@1
   511
 
yann@1
   512
@@ -29,7 +29,7 @@
yann@1
   513
 {
yann@1
   514
   td_eventbuf_t event;
yann@1
   515
 
yann@1
   516
-  LOG (__FUNCTION__);
yann@1
   517
+  LOG ("td_thr_event_getmsg");
yann@1
   518
 
yann@1
   519
   /* Read the even structure from the target.  */
yann@1
   520
   if (ps_pdread (th->th_ta_p->ph,
yann@1
   521
Index: td_thr_get_info.c
yann@1
   522
===================================================================
yann@1
   523
RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_get_info.c,v
yann@1
   524
retrieving revision 1.9
yann@1
   525
retrieving revision 1.10
yann@1
   526
diff -u -r1.9 -r1.10
yann@1
   527
--- libc/linuxthreads_db/td_thr_get_info.c	6 Jul 2001 05:27:23 -0000	1.9
yann@1
   528
+++ libc/linuxthreads_db/td_thr_get_info.c	28 Dec 2001 16:41:29 -0000	1.10
yann@1
   529
@@ -29,7 +29,7 @@
yann@1
   530
 {
yann@1
   531
   struct _pthread_descr_struct pds;
yann@1
   532
 
yann@1
   533
-  LOG (__FUNCTION__);
yann@1
   534
+  LOG ("td_thr_get_info");
yann@1
   535
 
yann@1
   536
   /* Get the thread descriptor.  */
yann@1
   537
   if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
yann@1
   538
Index: td_thr_getfpregs.c
yann@1
   539
===================================================================
yann@1
   540
RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_getfpregs.c,v
yann@1
   541
retrieving revision 1.4
yann@1
   542
retrieving revision 1.5
yann@1
   543
diff -u -r1.4 -r1.5
yann@1
   544
--- libc/linuxthreads_db/td_thr_getfpregs.c	6 Jul 2001 05:27:23 -0000	1.4
yann@1
   545
+++ libc/linuxthreads_db/td_thr_getfpregs.c	28 Dec 2001 16:41:29 -0000	1.5
yann@1
   546
@@ -26,7 +26,7 @@
yann@1
   547
 {
yann@1
   548
   struct _pthread_descr_struct pds;
yann@1
   549
 
yann@1
   550
-  LOG (__FUNCTION__);
yann@1
   551
+  LOG ("td_thr_getfpregs");
yann@1
   552
 
yann@1
   553
   /* We have to get the state and the PID for this thread.  */
yann@1
   554
   if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
yann@1
   555
Index: td_thr_getgregs.c
yann@1
   556
===================================================================
yann@1
   557
RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_getgregs.c,v
yann@1
   558
retrieving revision 1.8
yann@1
   559
retrieving revision 1.9
yann@1
   560
diff -u -r1.8 -r1.9
yann@1
   561
--- libc/linuxthreads_db/td_thr_getgregs.c	6 Jul 2001 05:27:23 -0000	1.8
yann@1
   562
+++ libc/linuxthreads_db/td_thr_getgregs.c	28 Dec 2001 16:41:29 -0000	1.9
yann@1
   563
@@ -26,7 +26,7 @@
yann@1
   564
 {
yann@1
   565
   struct _pthread_descr_struct pds;
yann@1
   566
 
yann@1
   567
-  LOG (__FUNCTION__);
yann@1
   568
+  LOG ("td_thr_getgregs");
yann@1
   569
 
yann@1
   570
   /* We have to get the state and the PID for this thread.  */
yann@1
   571
   if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
yann@1
   572
Index: td_thr_getxregs.c
yann@1
   573
===================================================================
yann@1
   574
RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_getxregs.c,v
yann@1
   575
retrieving revision 1.2
yann@1
   576
retrieving revision 1.3
yann@1
   577
diff -u -r1.2 -r1.3
yann@1
   578
--- libc/linuxthreads_db/td_thr_getxregs.c	6 Jul 2001 05:27:23 -0000	1.2
yann@1
   579
+++ libc/linuxthreads_db/td_thr_getxregs.c	28 Dec 2001 16:41:29 -0000	1.3
yann@1
   580
@@ -1,5 +1,5 @@
yann@1
   581
 /* Get a thread's extra state register set.
yann@1
   582
-   Copyright (C) 1999 Free Software Foundation, Inc.
yann@1
   583
+   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
yann@1
   584
    This file is part of the GNU C Library.
yann@1
   585
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
yann@1
   586
 
yann@1
   587
@@ -25,6 +25,6 @@
yann@1
   588
 td_thr_getxregs (const td_thrhandle_t *th, void *xregs)
yann@1
   589
 {
yann@1
   590
   /* XXX This might be platform specific.  */
yann@1
   591
-  LOG (__FUNCTION__);
yann@1
   592
+  LOG ("td_thr_getxregs");
yann@1
   593
   return TD_NOXREGS;
yann@1
   594
 }
yann@1
   595
Index: td_thr_getxregsize.c
yann@1
   596
===================================================================
yann@1
   597
RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_getxregsize.c,v
yann@1
   598
retrieving revision 1.2
yann@1
   599
retrieving revision 1.3
yann@1
   600
diff -u -r1.2 -r1.3
yann@1
   601
--- libc/linuxthreads_db/td_thr_getxregsize.c	6 Jul 2001 05:27:23 -0000	1.2
yann@1
   602
+++ libc/linuxthreads_db/td_thr_getxregsize.c	28 Dec 2001 16:41:29 -0000	1.3
yann@1
   603
@@ -1,5 +1,5 @@
yann@1
   604
 /* Get the size of the extra state register set for this architecture.
yann@1
   605
-   Copyright (C) 1999 Free Software Foundation, Inc.
yann@1
   606
+   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
yann@1
   607
    This file is part of the GNU C Library.
yann@1
   608
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
yann@1
   609
 
yann@1
   610
@@ -25,6 +25,6 @@
yann@1
   611
 td_thr_getxregsize (const td_thrhandle_t *th, int *sizep)
yann@1
   612
 {
yann@1
   613
   /* XXX This might be platform specific.  */
yann@1
   614
-  LOG (__FUNCTION__);
yann@1
   615
+  LOG ("td_thr_getxregsize");
yann@1
   616
   return TD_NOXREGS;
yann@1
   617
 }
yann@1
   618
Index: td_thr_set_event.c
yann@1
   619
===================================================================
yann@1
   620
RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_set_event.c,v
yann@1
   621
retrieving revision 1.4
yann@1
   622
retrieving revision 1.5
yann@1
   623
diff -u -r1.4 -r1.5
yann@1
   624
--- libc/linuxthreads_db/td_thr_set_event.c	6 Jul 2001 05:27:23 -0000	1.4
yann@1
   625
+++ libc/linuxthreads_db/td_thr_set_event.c	28 Dec 2001 16:41:29 -0000	1.5
yann@1
   626
@@ -1,5 +1,5 @@
yann@1
   627
 /* Enable specific event for thread.
yann@1
   628
-   Copyright (C) 1999 Free Software Foundation, Inc.
yann@1
   629
+   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
yann@1
   630
    This file is part of the GNU C Library.
yann@1
   631
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
yann@1
   632
 
yann@1
   633
@@ -31,7 +31,7 @@
yann@1
   634
   td_thr_events_t old_event;
yann@1
   635
   int i;
yann@1
   636
 
yann@1
   637
-  LOG (__FUNCTION__);
yann@1
   638
+  LOG ("td_thr_set_event");
yann@1
   639
 
yann@1
   640
   /* Write the new value into the thread data structure.  */
yann@1
   641
   if (ps_pdread (th->th_ta_p->ph,
yann@1
   642
Index: td_thr_setfpregs.c
yann@1
   643
===================================================================
yann@1
   644
RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_setfpregs.c,v
yann@1
   645
retrieving revision 1.4
yann@1
   646
retrieving revision 1.5
yann@1
   647
diff -u -r1.4 -r1.5
yann@1
   648
--- libc/linuxthreads_db/td_thr_setfpregs.c	6 Jul 2001 05:27:23 -0000	1.4
yann@1
   649
+++ libc/linuxthreads_db/td_thr_setfpregs.c	28 Dec 2001 16:41:29 -0000	1.5
yann@1
   650
@@ -26,7 +26,7 @@
yann@1
   651
 {
yann@1
   652
   struct _pthread_descr_struct pds;
yann@1
   653
 
yann@1
   654
-  LOG (__FUNCTION__);
yann@1
   655
+  LOG ("td_thr_setfpregs");
yann@1
   656
 
yann@1
   657
   /* We have to get the state and the PID for this thread.  */
yann@1
   658
   if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
yann@1
   659
Index: td_thr_setgregs.c
yann@1
   660
===================================================================
yann@1
   661
RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_setgregs.c,v
yann@1
   662
retrieving revision 1.6
yann@1
   663
retrieving revision 1.7
yann@1
   664
diff -u -r1.6 -r1.7
yann@1
   665
--- libc/linuxthreads_db/td_thr_setgregs.c	6 Jul 2001 05:27:23 -0000	1.6
yann@1
   666
+++ libc/linuxthreads_db/td_thr_setgregs.c	28 Dec 2001 16:41:29 -0000	1.7
yann@1
   667
@@ -26,7 +26,7 @@
yann@1
   668
 {
yann@1
   669
   struct _pthread_descr_struct pds;
yann@1
   670
 
yann@1
   671
-  LOG (__FUNCTION__);
yann@1
   672
+  LOG ("td_thr_setgregs");
yann@1
   673
 
yann@1
   674
   /* We have to get the state and the PID for this thread.  */
yann@1
   675
   if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
yann@1
   676
Index: td_thr_setprio.c
yann@1
   677
===================================================================
yann@1
   678
RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_setprio.c,v
yann@1
   679
retrieving revision 1.2
yann@1
   680
retrieving revision 1.3
yann@1
   681
diff -u -r1.2 -r1.3
yann@1
   682
--- libc/linuxthreads_db/td_thr_setprio.c	6 Jul 2001 05:27:23 -0000	1.2
yann@1
   683
+++ libc/linuxthreads_db/td_thr_setprio.c	28 Dec 2001 16:41:29 -0000	1.3
yann@1
   684
@@ -1,5 +1,5 @@
yann@1
   685
 /* Set a thread's priority.
yann@1
   686
-   Copyright (C) 1999 Free Software Foundation, Inc.
yann@1
   687
+   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
yann@1
   688
    This file is part of the GNU C Library.
yann@1
   689
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
yann@1
   690
 
yann@1
   691
@@ -25,6 +25,6 @@
yann@1
   692
 td_thr_setprio (const td_thrhandle_t *th, int prio)
yann@1
   693
 {
yann@1
   694
   /* XXX We have to figure out what has to be done.  */
yann@1
   695
-  LOG (__FUNCTION__);
yann@1
   696
+  LOG ("td_thr_setprio");
yann@1
   697
   return TD_OK;
yann@1
   698
 }
yann@1
   699
Index: td_thr_setsigpending.c
yann@1
   700
===================================================================
yann@1
   701
RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_setsigpending.c,v
yann@1
   702
retrieving revision 1.2
yann@1
   703
retrieving revision 1.3
yann@1
   704
diff -u -r1.2 -r1.3
yann@1
   705
--- libc/linuxthreads_db/td_thr_setsigpending.c	6 Jul 2001 05:27:23 -0000	1.2
yann@1
   706
+++ libc/linuxthreads_db/td_thr_setsigpending.c	28 Dec 2001 16:41:29 -0000	1.3
yann@1
   707
@@ -1,5 +1,5 @@
yann@1
   708
 /* Raise a signal for a thread.
yann@1
   709
-   Copyright (C) 1999 Free Software Foundation, Inc.
yann@1
   710
+   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
yann@1
   711
    This file is part of the GNU C Library.
yann@1
   712
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
yann@1
   713
 
yann@1
   714
@@ -26,6 +26,6 @@
yann@1
   715
 		      const sigset_t *ss)
yann@1
   716
 {
yann@1
   717
   /* XXX We have to figure out what has to be done.  */
yann@1
   718
-  LOG (__FUNCTION__);
yann@1
   719
+  LOG ("td_thr_setsigpending");
yann@1
   720
   return TD_OK;
yann@1
   721
 }
yann@1
   722
Index: td_thr_setxregs.c
yann@1
   723
===================================================================
yann@1
   724
RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_setxregs.c,v
yann@1
   725
retrieving revision 1.2
yann@1
   726
retrieving revision 1.3
yann@1
   727
diff -u -r1.2 -r1.3
yann@1
   728
--- libc/linuxthreads_db/td_thr_setxregs.c	6 Jul 2001 05:27:23 -0000	1.2
yann@1
   729
+++ libc/linuxthreads_db/td_thr_setxregs.c	28 Dec 2001 16:41:29 -0000	1.3
yann@1
   730
@@ -1,5 +1,5 @@
yann@1
   731
 /* Set a thread's extra state register set.
yann@1
   732
-   Copyright (C) 1999 Free Software Foundation, Inc.
yann@1
   733
+   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
yann@1
   734
    This file is part of the GNU C Library.
yann@1
   735
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
yann@1
   736
 
yann@1
   737
@@ -25,6 +25,6 @@
yann@1
   738
 td_thr_setxregs (const td_thrhandle_t *ta, const void *addr)
yann@1
   739
 {
yann@1
   740
   /* XXX This might have to be platform specific.  */
yann@1
   741
-  LOG (__FUNCTION__);
yann@1
   742
+  LOG ("td_thr_setxregs");
yann@1
   743
   return TD_NOXREGS;
yann@1
   744
 }
yann@1
   745
Index: td_thr_sigsetmask.c
yann@1
   746
===================================================================
yann@1
   747
RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_sigsetmask.c,v
yann@1
   748
retrieving revision 1.2
yann@1
   749
retrieving revision 1.3
yann@1
   750
diff -u -r1.2 -r1.3
yann@1
   751
--- libc/linuxthreads_db/td_thr_sigsetmask.c	6 Jul 2001 05:27:23 -0000	1.2
yann@1
   752
+++ libc/linuxthreads_db/td_thr_sigsetmask.c	28 Dec 2001 16:41:29 -0000	1.3
yann@1
   753
@@ -1,5 +1,5 @@
yann@1
   754
 /* Set a thread's signal mask.
yann@1
   755
-   Copyright (C) 1999 Free Software Foundation, Inc.
yann@1
   756
+   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
yann@1
   757
    This file is part of the GNU C Library.
yann@1
   758
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
yann@1
   759
 
yann@1
   760
@@ -25,6 +25,6 @@
yann@1
   761
 td_thr_sigsetmask (const td_thrhandle_t *th, const sigset_t *ss)
yann@1
   762
 {
yann@1
   763
   /* XXX We have to figure out what has to be done.  */
yann@1
   764
-  LOG (__FUNCTION__);
yann@1
   765
+  LOG ("td_thr_sigsetmask");
yann@1
   766
   return TD_OK;
yann@1
   767
 }
yann@1
   768
Index: td_thr_tsd.c
yann@1
   769
===================================================================
yann@1
   770
RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_tsd.c,v
yann@1
   771
retrieving revision 1.2
yann@1
   772
retrieving revision 1.3
yann@1
   773
diff -u -r1.2 -r1.3
yann@1
   774
--- libc/linuxthreads_db/td_thr_tsd.c	6 Jul 2001 05:27:23 -0000	1.2
yann@1
   775
+++ libc/linuxthreads_db/td_thr_tsd.c	28 Dec 2001 16:41:29 -0000	1.3
yann@1
   776
@@ -1,5 +1,5 @@
yann@1
   777
 /* Get a thread-specific data pointer for a thread.
yann@1
   778
-   Copyright (C) 1999 Free Software Foundation, Inc.
yann@1
   779
+   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
yann@1
   780
    This file is part of the GNU C Library.
yann@1
   781
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
yann@1
   782
 
yann@1
   783
@@ -33,7 +33,7 @@
yann@1
   784
   unsigned int idx2nd;
yann@1
   785
   void *p;
yann@1
   786
 
yann@1
   787
-  LOG (__FUNCTION__);
yann@1
   788
+  LOG ("td_thr_tsd");
yann@1
   789
 
yann@1
   790
   /* Get the thread descriptor.  */
yann@1
   791
   if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
yann@1
   792
Index: td_thr_validate.c
yann@1
   793
===================================================================
yann@1
   794
RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_validate.c,v
yann@1
   795
retrieving revision 1.4
yann@1
   796
retrieving revision 1.5
yann@1
   797
diff -u -r1.4 -r1.5
yann@1
   798
--- libc/linuxthreads_db/td_thr_validate.c	6 Jul 2001 05:27:23 -0000	1.4
yann@1
   799
+++ libc/linuxthreads_db/td_thr_validate.c	28 Dec 2001 16:41:29 -0000	1.5
yann@1
   800
@@ -28,7 +28,7 @@
yann@1
   801
   int pthread_threads_max = th->th_ta_p->pthread_threads_max;
yann@1
   802
   int cnt;
yann@1
   803
 
yann@1
   804
-  LOG (__FUNCTION__);
yann@1
   805
+  LOG ("td_thr_validate");
yann@1
   806
 
yann@1
   807
   /* Now get all descriptors, one after the other.  */
yann@1
   808
   for (cnt = 0; cnt < pthread_threads_max; ++cnt, ++handles)