⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 glibc-linuxthreads-2.2.2-allow-gcc3.patch

📁 linux下编译交叉工具链的工具源码
💻 PATCH
📖 第 1 页 / 共 2 页
字号:
   int cnt; -  LOG (__FUNCTION__);+  LOG ("td_ta_tsd_iter");    /* Test whether the TA parameter is ok.  */   if (! ta_ok (ta))diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_clear_event.c glibc-2.2.2/linuxthreads_db/td_thr_clear_event.c--- glibc-2.2.2/linuxthreads_db.orig/td_thr_clear_event.c	1999-11-03 10:37:18.000000000 -0800+++ glibc-2.2.2/linuxthreads_db/td_thr_clear_event.c	2005-01-27 19:02:19.000000000 -0800@@ -24,14 +24,12 @@   td_err_e-td_thr_clear_event (th, event)-     const td_thrhandle_t *th;-     td_thr_events_t *event;+td_thr_clear_event (const td_thrhandle_t *th, td_thr_events_t *event) {   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,diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_dbresume.c glibc-2.2.2/linuxthreads_db/td_thr_dbresume.c--- glibc-2.2.2/linuxthreads_db.orig/td_thr_dbresume.c	1999-10-07 23:40:02.000000000 -0700+++ glibc-2.2.2/linuxthreads_db/td_thr_dbresume.c	2005-01-27 19:01:54.000000000 -0800@@ -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; }diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_dbsuspend.c glibc-2.2.2/linuxthreads_db/td_thr_dbsuspend.c--- glibc-2.2.2/linuxthreads_db.orig/td_thr_dbsuspend.c	1999-10-07 23:40:33.000000000 -0700+++ glibc-2.2.2/linuxthreads_db/td_thr_dbsuspend.c	2005-01-27 19:01:46.000000000 -0800@@ -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; }diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_event_enable.c glibc-2.2.2/linuxthreads_db/td_thr_event_enable.c--- glibc-2.2.2/linuxthreads_db.orig/td_thr_event_enable.c	1999-11-02 16:06:10.000000000 -0800+++ glibc-2.2.2/linuxthreads_db/td_thr_event_enable.c	2005-01-27 19:01:35.000000000 -0800@@ -24,11 +24,9 @@   td_err_e-td_thr_event_enable (th, onoff)-     const td_thrhandle_t *th;-     int onoff;+td_thr_event_enable (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,diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_event_getmsg.c glibc-2.2.2/linuxthreads_db/td_thr_event_getmsg.c--- glibc-2.2.2/linuxthreads_db.orig/td_thr_event_getmsg.c	1999-11-02 16:06:10.000000000 -0800+++ glibc-2.2.2/linuxthreads_db/td_thr_event_getmsg.c	2005-01-27 19:01:11.000000000 -0800@@ -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,diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_get_info.c glibc-2.2.2/linuxthreads_db/td_thr_get_info.c--- glibc-2.2.2/linuxthreads_db.orig/td_thr_get_info.c	2000-05-01 14:56:42.000000000 -0700+++ glibc-2.2.2/linuxthreads_db/td_thr_get_info.c	2005-01-27 19:00:59.000000000 -0800@@ -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,diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_getfpregs.c glibc-2.2.2/linuxthreads_db/td_thr_getfpregs.c--- glibc-2.2.2/linuxthreads_db.orig/td_thr_getfpregs.c	1999-11-02 16:06:10.000000000 -0800+++ glibc-2.2.2/linuxthreads_db/td_thr_getfpregs.c	2005-01-27 19:00:49.000000000 -0800@@ -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,diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_getgregs.c glibc-2.2.2/linuxthreads_db/td_thr_getgregs.c--- glibc-2.2.2/linuxthreads_db.orig/td_thr_getgregs.c	2000-02-11 15:48:51.000000000 -0800+++ glibc-2.2.2/linuxthreads_db/td_thr_getgregs.c	2005-01-27 19:00:37.000000000 -0800@@ -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,diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_getxregs.c glibc-2.2.2/linuxthreads_db/td_thr_getxregs.c--- glibc-2.2.2/linuxthreads_db.orig/td_thr_getxregs.c	1999-10-07 23:46:09.000000000 -0700+++ glibc-2.2.2/linuxthreads_db/td_thr_getxregs.c	2005-01-27 19:00:26.000000000 -0800@@ -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; }diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_getxregsize.c glibc-2.2.2/linuxthreads_db/td_thr_getxregsize.c--- glibc-2.2.2/linuxthreads_db.orig/td_thr_getxregsize.c	1999-10-07 23:46:33.000000000 -0700+++ glibc-2.2.2/linuxthreads_db/td_thr_getxregsize.c	2005-01-27 19:00:16.000000000 -0800@@ -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; }diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_set_event.c glibc-2.2.2/linuxthreads_db/td_thr_set_event.c--- glibc-2.2.2/linuxthreads_db.orig/td_thr_set_event.c	1999-11-03 10:37:18.000000000 -0800+++ glibc-2.2.2/linuxthreads_db/td_thr_set_event.c	2005-01-27 19:00:08.000000000 -0800@@ -24,14 +24,12 @@   td_err_e-td_thr_set_event (th, event)-     const td_thrhandle_t *th;-     td_thr_events_t *event;+td_thr_set_event (const td_thrhandle_t *th, td_thr_events_t *event) {   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,diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_setfpregs.c glibc-2.2.2/linuxthreads_db/td_thr_setfpregs.c--- glibc-2.2.2/linuxthreads_db.orig/td_thr_setfpregs.c	1999-11-02 16:06:10.000000000 -0800+++ glibc-2.2.2/linuxthreads_db/td_thr_setfpregs.c	2005-01-27 18:59:06.000000000 -0800@@ -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,diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_setgregs.c glibc-2.2.2/linuxthreads_db/td_thr_setgregs.c--- glibc-2.2.2/linuxthreads_db.orig/td_thr_setgregs.c	2000-02-11 15:48:51.000000000 -0800+++ glibc-2.2.2/linuxthreads_db/td_thr_setgregs.c	2005-01-27 18:58:57.000000000 -0800@@ -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,diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_setprio.c glibc-2.2.2/linuxthreads_db/td_thr_setprio.c--- glibc-2.2.2/linuxthreads_db.orig/td_thr_setprio.c	1999-10-07 23:49:11.000000000 -0700+++ glibc-2.2.2/linuxthreads_db/td_thr_setprio.c	2005-01-27 18:58:46.000000000 -0800@@ -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; }diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_setsigpending.c glibc-2.2.2/linuxthreads_db/td_thr_setsigpending.c--- glibc-2.2.2/linuxthreads_db.orig/td_thr_setsigpending.c	1999-10-07 23:49:38.000000000 -0700+++ glibc-2.2.2/linuxthreads_db/td_thr_setsigpending.c	2005-01-27 18:58:34.000000000 -0800@@ -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; }diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_setxregs.c glibc-2.2.2/linuxthreads_db/td_thr_setxregs.c--- glibc-2.2.2/linuxthreads_db.orig/td_thr_setxregs.c	1999-10-07 23:48:20.000000000 -0700+++ glibc-2.2.2/linuxthreads_db/td_thr_setxregs.c	2005-01-27 18:58:21.000000000 -0800@@ -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; }diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_sigsetmask.c glibc-2.2.2/linuxthreads_db/td_thr_sigsetmask.c--- glibc-2.2.2/linuxthreads_db.orig/td_thr_sigsetmask.c	1999-10-07 23:50:34.000000000 -0700+++ glibc-2.2.2/linuxthreads_db/td_thr_sigsetmask.c	2005-01-27 18:57:58.000000000 -0800@@ -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; }diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_tsd.c glibc-2.2.2/linuxthreads_db/td_thr_tsd.c--- glibc-2.2.2/linuxthreads_db.orig/td_thr_tsd.c	1999-10-07 23:52:15.000000000 -0700+++ glibc-2.2.2/linuxthreads_db/td_thr_tsd.c	2005-01-27 18:58:09.000000000 -0800@@ -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,diff -ru glibc-2.2.2/linuxthreads_db.orig/td_thr_validate.c glibc-2.2.2/linuxthreads_db/td_thr_validate.c--- glibc-2.2.2/linuxthreads_db.orig/td_thr_validate.c	1999-10-14 17:24:20.000000000 -0700+++ glibc-2.2.2/linuxthreads_db/td_thr_validate.c	2005-01-27 18:57:41.000000000 -0800@@ -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 + -