patches/gdb/6.5/500-thread-timeout.patch
changeset 438 d75624a9268b
parent 96 aa1a9fbd6eb8
     1.1 --- a/patches/gdb/6.5/500-thread-timeout.patch	Thu May 17 16:22:51 2007 +0000
     1.2 +++ b/patches/gdb/6.5/500-thread-timeout.patch	Sun Apr 13 18:03:28 2008 +0000
     1.3 @@ -1,14 +1,14 @@
     1.4 ---- gdb-6.3.org/gdb/gdbserver/thread-db.c	2004-10-17 02:42:00.000000000 +0900
     1.5 -+++ gdb-6.3/gdb/gdbserver/thread-db.c	2005-01-27 12:19:29.000000000 +0900
     1.6 +--- gdb-6.5/./gdb/gdbserver/thread-db.c.orig	2006-03-15 08:13:29.000000000 -0800
     1.7 ++++ gdb-6.5/./gdb/gdbserver/thread-db.c	2008-04-01 21:21:23.000000000 -0700
     1.8  @@ -21,6 +21,7 @@
     1.9 -    Foundation, Inc., 59 Temple Place - Suite 330,
    1.10 -    Boston, MA 02111-1307, USA.  */
    1.11 +    Foundation, Inc., 51 Franklin Street, Fifth Floor,
    1.12 +    Boston, MA 02110-1301, USA.  */
    1.13   
    1.14  +#include <unistd.h>
    1.15   #include "server.h"
    1.16   
    1.17   #include "linux-low.h"
    1.18 -@@ -142,6 +143,7 @@
    1.19 +@@ -134,6 +135,7 @@ thread_db_create_event (CORE_ADDR where)
    1.20     td_event_msg_t msg;
    1.21     td_err_e err;
    1.22     struct inferior_linux_data *tdata;
    1.23 @@ -16,7 +16,7 @@
    1.24   
    1.25     if (debug_threads)
    1.26       fprintf (stderr, "Thread creation event.\n");
    1.27 -@@ -152,7 +154,13 @@
    1.28 +@@ -144,7 +146,13 @@ thread_db_create_event (CORE_ADDR where)
    1.29        In the LinuxThreads implementation, this is safe,
    1.30        because all events come from the manager thread
    1.31        (except for its own creation, of course).  */
    1.32 @@ -31,4 +31,3 @@
    1.33     if (err != TD_OK)
    1.34       fprintf (stderr, "thread getmsg err: %s\n",
    1.35   	     thread_db_err_str (err));
    1.36 -