glibc-2.2.5-allow-gcc-3.4-td.patch
来自「linux下编译交叉工具链的工具源码」· PATCH 代码 · 共 882 行 · 第 1/3 页
PATCH
882 行
retrieving revision 1.5diff -u -r1.4 -r1.5--- libc/linuxthreads_db/td_ta_map_id2thr.c 6 Jul 2001 05:27:23 -0000 1.4+++ libc/linuxthreads_db/td_ta_map_id2thr.c 28 Dec 2001 16:41:29 -0000 1.5@@ -28,7 +28,7 @@ struct _pthread_descr_struct pds; int pthread_threads_max; - LOG (__FUNCTION__);+ LOG ("td_ta_map_id2thr"); /* Test whether the TA parameter is ok. */ if (! ta_ok (ta))Index: td_ta_map_lwp2thr.c===================================================================RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_map_lwp2thr.c,vretrieving revision 1.5retrieving revision 1.6diff -u -r1.5 -r1.6--- libc/linuxthreads_db/td_ta_map_lwp2thr.c 6 Jul 2001 05:27:23 -0000 1.5+++ libc/linuxthreads_db/td_ta_map_lwp2thr.c 28 Dec 2001 16:41:29 -0000 1.6@@ -1,5 +1,5 @@ /* Which thread is running on an lwp?- Copyright (C) 1999 Free Software Foundation, Inc.+ Copyright (C) 1999, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999. @@ -34,7 +34,7 @@ # define num 1 #endif - LOG (__FUNCTION__);+ LOG ("td_ta_map_lwp2thr"); /* Test whether the TA parameter is ok. */ if (! ta_ok (ta))Index: td_ta_new.c===================================================================RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_new.c,vretrieving revision 1.10retrieving revision 1.11diff -u -r1.10 -r1.11--- libc/linuxthreads_db/td_ta_new.c 6 Jul 2001 05:27:23 -0000 1.10+++ libc/linuxthreads_db/td_ta_new.c 28 Dec 2001 16:41:29 -0000 1.11@@ -35,7 +35,7 @@ psaddr_t addr; struct agent_list *elemp; - LOG (__FUNCTION__);+ LOG ("td_ta_new"); /* Get the global event mask. This is one of the variables which are new in the thread library to enable debugging. If it isIndex: td_ta_reset_stats.c===================================================================RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_reset_stats.c,vretrieving revision 1.3retrieving revision 1.4diff -u -r1.3 -r1.4--- libc/linuxthreads_db/td_ta_reset_stats.c 6 Jul 2001 05:27:23 -0000 1.3+++ libc/linuxthreads_db/td_ta_reset_stats.c 28 Dec 2001 16:41:29 -0000 1.4@@ -1,5 +1,5 @@ /* Reset statistics.- Copyright (C) 1999 Free Software Foundation, Inc.+ Copyright (C) 1999, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999. @@ -25,7 +25,7 @@ td_ta_reset_stats (const td_thragent_t *ta) { /* XXX We have to figure out what has to be done. */- LOG (__FUNCTION__);+ LOG ("td_ta_reset_stats"); /* Test whether the TA parameter is ok. */ if (! ta_ok (ta))Index: td_ta_set_event.c===================================================================RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_set_event.c,vretrieving revision 1.4retrieving revision 1.5diff -u -r1.4 -r1.5--- libc/linuxthreads_db/td_ta_set_event.c 6 Jul 2001 05:27:23 -0000 1.4+++ libc/linuxthreads_db/td_ta_set_event.c 28 Dec 2001 16:41:29 -0000 1.5@@ -1,5 +1,5 @@ /* Globally enable events.- Copyright (C) 1999 Free Software Foundation, Inc.+ Copyright (C) 1999, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999. @@ -29,7 +29,7 @@ td_thr_events_t old_event; int i; - LOG (__FUNCTION__);+ LOG ("td_ta_set_event"); /* Test whether the TA parameter is ok. */ if (! ta_ok (ta))Index: td_ta_setconcurrency.c===================================================================RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_setconcurrency.c,vretrieving revision 1.3retrieving revision 1.4diff -u -r1.3 -r1.4--- libc/linuxthreads_db/td_ta_setconcurrency.c 6 Jul 2001 05:27:23 -0000 1.3+++ libc/linuxthreads_db/td_ta_setconcurrency.c 28 Dec 2001 16:41:29 -0000 1.4@@ -1,5 +1,5 @@ /* Set suggested concurrency level for process.- Copyright (C) 1999 Free Software Foundation, Inc.+ Copyright (C) 1999, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999. @@ -25,7 +25,7 @@ td_ta_setconcurrency (const td_thragent_t *ta, int level) { /* This is something LinuxThreads does not support. */- LOG (__FUNCTION__);+ LOG ("td_ta_setconcurrency"); /* Test whether the TA parameter is ok. */ if (! ta_ok (ta))Index: td_ta_thr_iter.c===================================================================RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_thr_iter.c,vretrieving revision 1.11retrieving revision 1.12diff -u -r1.11 -r1.12--- libc/linuxthreads_db/td_ta_thr_iter.c 6 Jul 2001 05:27:23 -0000 1.11+++ libc/linuxthreads_db/td_ta_thr_iter.c 28 Dec 2001 16:41:29 -0000 1.12@@ -1,5 +1,5 @@ /* Iterate over a process's threads.- Copyright (C) 1999, 2000 Free Software Foundation, Inc.+ Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999. @@ -86,7 +86,7 @@ # define num 1 #endif - LOG (__FUNCTION__);+ LOG ("td_ta_thr_iter"); /* Test whether the TA parameter is ok. */ if (! ta_ok (ta))Index: td_ta_tsd_iter.c===================================================================RCS file: /cvs/glibc/libc/linuxthreads_db/td_ta_tsd_iter.c,vretrieving revision 1.4retrieving revision 1.5diff -u -r1.4 -r1.5--- libc/linuxthreads_db/td_ta_tsd_iter.c 6 Jul 2001 05:27:23 -0000 1.4+++ libc/linuxthreads_db/td_ta_tsd_iter.c 28 Dec 2001 16:41:29 -0000 1.5@@ -1,5 +1,5 @@ /* Iterate over a process's thread-specific data.- Copyright (C) 1999, 2000 Free Software Foundation, Inc.+ Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999. @@ -29,7 +29,7 @@ int pthread_keys_max; int cnt; - LOG (__FUNCTION__);+ LOG ("td_ta_tsd_iter"); /* Test whether the TA parameter is ok. */ if (! ta_ok (ta))Index: td_thr_clear_event.c===================================================================RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_clear_event.c,vretrieving revision 1.3retrieving revision 1.4diff -u -r1.3 -r1.4--- libc/linuxthreads_db/td_thr_clear_event.c 6 Jul 2001 05:27:23 -0000 1.3+++ libc/linuxthreads_db/td_thr_clear_event.c 28 Dec 2001 16:41:29 -0000 1.4@@ -1,5 +1,5 @@ /* Disable specific event for thread.- Copyright (C) 1999 Free Software Foundation, Inc.+ Copyright (C) 1999, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999. @@ -31,7 +31,7 @@ td_thr_events_t old_event; int i; - LOG (__FUNCTION__);+ LOG ("td_thr_clear_event"); /* Write the new value into the thread data structure. */ if (ps_pdread (th->th_ta_p->ph,Index: td_thr_dbresume.c===================================================================RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_dbresume.c,vretrieving revision 1.2retrieving revision 1.3diff -u -r1.2 -r1.3--- libc/linuxthreads_db/td_thr_dbresume.c 6 Jul 2001 05:27:23 -0000 1.2+++ libc/linuxthreads_db/td_thr_dbresume.c 28 Dec 2001 16:41:29 -0000 1.3@@ -1,5 +1,5 @@ /* Resume execution of given thread.- Copyright (C) 1999 Free Software Foundation, Inc.+ Copyright (C) 1999, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999. @@ -25,6 +25,6 @@ td_thr_dbresume (const td_thrhandle_t *th) { /* XXX We have to figure out what has to be done. */- LOG (__FUNCTION__);+ LOG ("td_thr_dbresume"); return TD_NOCAPAB; }Index: td_thr_dbsuspend.c===================================================================RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_dbsuspend.c,vretrieving revision 1.2retrieving revision 1.3diff -u -r1.2 -r1.3--- libc/linuxthreads_db/td_thr_dbsuspend.c 6 Jul 2001 05:27:23 -0000 1.2+++ libc/linuxthreads_db/td_thr_dbsuspend.c 28 Dec 2001 16:41:29 -0000 1.3@@ -1,5 +1,5 @@ /* Suspend execution of given thread.- Copyright (C) 1999 Free Software Foundation, Inc.+ Copyright (C) 1999, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999. @@ -25,6 +25,6 @@ td_thr_dbsuspend (const td_thrhandle_t *th) { /* XXX We have to figure out what has to be done. */- LOG (__FUNCTION__);+ LOG ("td_thr_dbsuspend"); return TD_NOCAPAB; }Index: td_thr_event_enable.c===================================================================RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_event_enable.c,vretrieving revision 1.3retrieving revision 1.4diff -u -r1.3 -r1.4--- libc/linuxthreads_db/td_thr_event_enable.c 6 Jul 2001 05:27:23 -0000 1.3+++ libc/linuxthreads_db/td_thr_event_enable.c 28 Dec 2001 16:41:29 -0000 1.4@@ -1,5 +1,5 @@ /* Enable event process-wide.- Copyright (C) 1999 Free Software Foundation, Inc.+ Copyright (C) 1999, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999. @@ -28,7 +28,7 @@ const td_thrhandle_t *th; int onoff; {- LOG (__FUNCTION__);+ LOG ("td_thr_event_enable"); /* Write the new value into the thread data structure. */ if (ps_pdwrite (th->th_ta_p->ph,Index: td_thr_event_getmsg.c===================================================================RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_event_getmsg.c,vretrieving revision 1.3retrieving revision 1.4diff -u -r1.3 -r1.4--- libc/linuxthreads_db/td_thr_event_getmsg.c 6 Jul 2001 05:27:23 -0000 1.3+++ libc/linuxthreads_db/td_thr_event_getmsg.c 28 Dec 2001 16:41:29 -0000 1.4@@ -1,5 +1,5 @@ /* Retrieve event.- Copyright (C) 1999 Free Software Foundation, Inc.+ Copyright (C) 1999, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999. @@ -29,7 +29,7 @@ { td_eventbuf_t event; - LOG (__FUNCTION__);+ LOG ("td_thr_event_getmsg"); /* Read the even structure from the target. */ if (ps_pdread (th->th_ta_p->ph,Index: td_thr_get_info.c===================================================================
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?