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