Update patch to gdb. Thanks Khem RAJ <kraj@mvista.com>
patches/gdb/6.5/500-thread-timeout.patch | 13 6 7 0 ++++++-------
docs/CREDITS | 3 3 0 0 +++
2 files changed, 9 insertions(+), 7 deletions(-)
1.1 --- a/docs/CREDITS Wed Feb 20 22:48:35 2008 +0000
1.2 +++ b/docs/CREDITS Sun Apr 13 18:03:28 2008 +0000
1.3 @@ -39,6 +39,9 @@
1.4 Michael Abbott:
1.5 - make it build with ancient findutils
1.6
1.7 + Many others have contributed, either in form of patches, suggestions,
1.8 + comments, or testing... Thank you to all of you!
1.9 +
1.10 Special dedication to the buildroot people for maintaining a set of patches I
1.11 happily and shamelessly vampirise from time to time... :-)
1.12
2.1 --- a/patches/gdb/6.5/500-thread-timeout.patch Wed Feb 20 22:48:35 2008 +0000
2.2 +++ b/patches/gdb/6.5/500-thread-timeout.patch Sun Apr 13 18:03:28 2008 +0000
2.3 @@ -1,14 +1,14 @@
2.4 ---- gdb-6.3.org/gdb/gdbserver/thread-db.c 2004-10-17 02:42:00.000000000 +0900
2.5 -+++ gdb-6.3/gdb/gdbserver/thread-db.c 2005-01-27 12:19:29.000000000 +0900
2.6 +--- gdb-6.5/./gdb/gdbserver/thread-db.c.orig 2006-03-15 08:13:29.000000000 -0800
2.7 ++++ gdb-6.5/./gdb/gdbserver/thread-db.c 2008-04-01 21:21:23.000000000 -0700
2.8 @@ -21,6 +21,7 @@
2.9 - Foundation, Inc., 59 Temple Place - Suite 330,
2.10 - Boston, MA 02111-1307, USA. */
2.11 + Foundation, Inc., 51 Franklin Street, Fifth Floor,
2.12 + Boston, MA 02110-1301, USA. */
2.13
2.14 +#include <unistd.h>
2.15 #include "server.h"
2.16
2.17 #include "linux-low.h"
2.18 -@@ -142,6 +143,7 @@
2.19 +@@ -134,6 +135,7 @@ thread_db_create_event (CORE_ADDR where)
2.20 td_event_msg_t msg;
2.21 td_err_e err;
2.22 struct inferior_linux_data *tdata;
2.23 @@ -16,7 +16,7 @@
2.24
2.25 if (debug_threads)
2.26 fprintf (stderr, "Thread creation event.\n");
2.27 -@@ -152,7 +154,13 @@
2.28 +@@ -144,7 +146,13 @@ thread_db_create_event (CORE_ADDR where)
2.29 In the LinuxThreads implementation, this is safe,
2.30 because all events come from the manager thread
2.31 (except for its own creation, of course). */
2.32 @@ -31,4 +31,3 @@
2.33 if (err != TD_OK)
2.34 fprintf (stderr, "thread getmsg err: %s\n",
2.35 thread_db_err_str (err));
2.36 -