📄 rh62-99-glibc-2.1.3-allow-gcc-3.4-td.patch
字号:
retrieving 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===================================================================RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_get_info.c,vretrieving revision 1.9retrieving revision 1.10diff -u -r1.9 -r1.10--- libc/linuxthreads_db/td_thr_get_info.c 6 Jul 2001 05:27:23 -0000 1.9+++ libc/linuxthreads_db/td_thr_get_info.c 28 Dec 2001 16:41:29 -0000 1.10@@ -29,7 +29,7 @@ { struct _pthread_descr_struct pds; - LOG (__FUNCTION__);+ LOG ("td_thr_get_info"); /* Get the thread descriptor. */ if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,Index: td_thr_getfpregs.c===================================================================RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_getfpregs.c,vretrieving revision 1.4retrieving revision 1.5diff -u -r1.4 -r1.5--- libc/linuxthreads_db/td_thr_getfpregs.c 6 Jul 2001 05:27:23 -0000 1.4+++ libc/linuxthreads_db/td_thr_getfpregs.c 28 Dec 2001 16:41:29 -0000 1.5@@ -26,7 +26,7 @@ { struct _pthread_descr_struct pds; - LOG (__FUNCTION__);+ LOG ("td_thr_getfpregs"); /* We have to get the state and the PID for this thread. */ if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,Index: td_thr_getgregs.c===================================================================RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_getgregs.c,vretrieving revision 1.8retrieving revision 1.9diff -u -r1.8 -r1.9--- libc/linuxthreads_db/td_thr_getgregs.c 6 Jul 2001 05:27:23 -0000 1.8+++ libc/linuxthreads_db/td_thr_getgregs.c 28 Dec 2001 16:41:29 -0000 1.9@@ -26,7 +26,7 @@ { struct _pthread_descr_struct pds; - LOG (__FUNCTION__);+ LOG ("td_thr_getgregs"); /* We have to get the state and the PID for this thread. */ if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,Index: td_thr_getxregs.c===================================================================RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_getxregs.c,vretrieving revision 1.2retrieving revision 1.3diff -u -r1.2 -r1.3--- libc/linuxthreads_db/td_thr_getxregs.c 6 Jul 2001 05:27:23 -0000 1.2+++ libc/linuxthreads_db/td_thr_getxregs.c 28 Dec 2001 16:41:29 -0000 1.3@@ -1,5 +1,5 @@ /* Get a thread's extra state register set.- 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_getxregs (const td_thrhandle_t *th, void *xregs) { /* XXX This might be platform specific. */- LOG (__FUNCTION__);+ LOG ("td_thr_getxregs"); return TD_NOXREGS; }Index: td_thr_getxregsize.c===================================================================RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_getxregsize.c,vretrieving revision 1.2retrieving revision 1.3diff -u -r1.2 -r1.3--- libc/linuxthreads_db/td_thr_getxregsize.c 6 Jul 2001 05:27:23 -0000 1.2+++ libc/linuxthreads_db/td_thr_getxregsize.c 28 Dec 2001 16:41:29 -0000 1.3@@ -1,5 +1,5 @@ /* Get the size of the extra state register set for this architecture.- 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_getxregsize (const td_thrhandle_t *th, int *sizep) { /* XXX This might be platform specific. */- LOG (__FUNCTION__);+ LOG ("td_thr_getxregsize"); return TD_NOXREGS; }Index: td_thr_set_event.c===================================================================RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_set_event.c,vretrieving revision 1.4retrieving revision 1.5diff -u -r1.4 -r1.5--- libc/linuxthreads_db/td_thr_set_event.c 6 Jul 2001 05:27:23 -0000 1.4+++ libc/linuxthreads_db/td_thr_set_event.c 28 Dec 2001 16:41:29 -0000 1.5@@ -1,5 +1,5 @@ /* Enable 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_set_event"); /* Write the new value into the thread data structure. */ if (ps_pdread (th->th_ta_p->ph,Index: td_thr_setfpregs.c===================================================================RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_setfpregs.c,vretrieving revision 1.4retrieving revision 1.5diff -u -r1.4 -r1.5--- libc/linuxthreads_db/td_thr_setfpregs.c 6 Jul 2001 05:27:23 -0000 1.4+++ libc/linuxthreads_db/td_thr_setfpregs.c 28 Dec 2001 16:41:29 -0000 1.5@@ -26,7 +26,7 @@ { struct _pthread_descr_struct pds; - LOG (__FUNCTION__);+ LOG ("td_thr_setfpregs"); /* We have to get the state and the PID for this thread. */ if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,Index: td_thr_setgregs.c===================================================================RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_setgregs.c,vretrieving revision 1.6retrieving revision 1.7diff -u -r1.6 -r1.7--- libc/linuxthreads_db/td_thr_setgregs.c 6 Jul 2001 05:27:23 -0000 1.6+++ libc/linuxthreads_db/td_thr_setgregs.c 28 Dec 2001 16:41:29 -0000 1.7@@ -26,7 +26,7 @@ { struct _pthread_descr_struct pds; - LOG (__FUNCTION__);+ LOG ("td_thr_setgregs"); /* We have to get the state and the PID for this thread. */ if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,Index: td_thr_setprio.c===================================================================RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_setprio.c,vretrieving revision 1.2retrieving revision 1.3diff -u -r1.2 -r1.3--- libc/linuxthreads_db/td_thr_setprio.c 6 Jul 2001 05:27:23 -0000 1.2+++ libc/linuxthreads_db/td_thr_setprio.c 28 Dec 2001 16:41:29 -0000 1.3@@ -1,5 +1,5 @@ /* Set a thread's priority.- 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_setprio (const td_thrhandle_t *th, int prio) { /* XXX We have to figure out what has to be done. */- LOG (__FUNCTION__);+ LOG ("td_thr_setprio"); return TD_OK; }Index: td_thr_setsigpending.c===================================================================RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_setsigpending.c,vretrieving revision 1.2retrieving revision 1.3diff -u -r1.2 -r1.3--- libc/linuxthreads_db/td_thr_setsigpending.c 6 Jul 2001 05:27:23 -0000 1.2+++ libc/linuxthreads_db/td_thr_setsigpending.c 28 Dec 2001 16:41:29 -0000 1.3@@ -1,5 +1,5 @@ /* Raise a signal for a 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. @@ -26,6 +26,6 @@ const sigset_t *ss) { /* XXX We have to figure out what has to be done. */- LOG (__FUNCTION__);+ LOG ("td_thr_setsigpending"); return TD_OK; }Index: td_thr_setxregs.c===================================================================RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_setxregs.c,vretrieving revision 1.2retrieving revision 1.3diff -u -r1.2 -r1.3--- libc/linuxthreads_db/td_thr_setxregs.c 6 Jul 2001 05:27:23 -0000 1.2+++ libc/linuxthreads_db/td_thr_setxregs.c 28 Dec 2001 16:41:29 -0000 1.3@@ -1,5 +1,5 @@ /* Set a thread's extra state register set.- 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_setxregs (const td_thrhandle_t *ta, const void *addr) { /* XXX This might have to be platform specific. */- LOG (__FUNCTION__);+ LOG ("td_thr_setxregs"); return TD_NOXREGS; }Index: td_thr_sigsetmask.c===================================================================RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_sigsetmask.c,vretrieving revision 1.2retrieving revision 1.3diff -u -r1.2 -r1.3--- libc/linuxthreads_db/td_thr_sigsetmask.c 6 Jul 2001 05:27:23 -0000 1.2+++ libc/linuxthreads_db/td_thr_sigsetmask.c 28 Dec 2001 16:41:29 -0000 1.3@@ -1,5 +1,5 @@ /* Set a thread's signal mask.- 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_sigsetmask (const td_thrhandle_t *th, const sigset_t *ss) { /* XXX We have to figure out what has to be done. */- LOG (__FUNCTION__);+ LOG ("td_thr_sigsetmask"); return TD_OK; }Index: td_thr_tsd.c===================================================================RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_tsd.c,vretrieving revision 1.2retrieving revision 1.3diff -u -r1.2 -r1.3--- libc/linuxthreads_db/td_thr_tsd.c 6 Jul 2001 05:27:23 -0000 1.2+++ libc/linuxthreads_db/td_thr_tsd.c 28 Dec 2001 16:41:29 -0000 1.3@@ -1,5 +1,5 @@ /* Get a thread-specific data pointer for a 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. @@ -33,7 +33,7 @@ unsigned int idx2nd; void *p; - LOG (__FUNCTION__);+ LOG ("td_thr_tsd"); /* Get the thread descriptor. */ if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,Index: td_thr_validate.c===================================================================RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_validate.c,vretrieving revision 1.4retrieving revision 1.5diff -u -r1.4 -r1.5--- libc/linuxthreads_db/td_thr_validate.c 6 Jul 2001 05:27:23 -0000 1.4+++ libc/linuxthreads_db/td_thr_validate.c 28 Dec 2001 16:41:29 -0000 1.5@@ -28,7 +28,7 @@ int pthread_threads_max = th->th_ta_p->pthread_threads_max; int cnt; - LOG (__FUNCTION__);+ LOG ("td_thr_validate"); /* Now get all descriptors, one after the other. */ for (cnt = 0; cnt < pthread_threads_max; ++cnt, ++handles)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -