Skip to contentSkip to conversation

svn commit: trunk/buildroot/toolchain/gdb/6.5

Buildroot ulf at uclibc.org 1 participant 1 message Jul 1, 2008

lore
Share & tools
lore
#0 lore raw

Author: ulf
Date: 2008-07-01 14:35:33 -0700 (Tue, 01 Jul 2008) New Revision: 22598

Log:
Fix gbd-6.5, courtesy Fathi Boudra

Modified:
trunk/buildroot/toolchain/gdb/6.5/100-uclibc-conf.patch trunk/buildroot/toolchain/gdb/6.5/200-uclibc-readline-conf.patch trunk/buildroot/toolchain/gdb/6.5/400-mips-coredump.patch-2.4.23-29 trunk/buildroot/toolchain/gdb/6.5/500-thread-timeout.patch trunk/buildroot/toolchain/gdb/6.5/600-fix-compile-flag-mismatch.patch

Changeset:
Modified: trunk/buildroot/toolchain/gdb/6.5/100-uclibc-conf.patch
===================================================================

buildroot/toolchain/gdb/6.5/100-uclibc-conf.patch +12 -12
@@ -1,7 +1,7 @@
---- gdb-6.3/bfd/configure.orig	Fri Oct  8 16:53:56 2004
-+++ gdb-6.3/bfd/configure	Sun Feb 27 18:32:58 2005
-@@ -3583,6 +3583,11 @@
-   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+--- a/bfd/configure
++++ b/bfd/configure
+@@ -3580,6 +3580,11 @@
+   lt_cv_deplibs_check_method=pass_all
    ;;
  
 +linux-uclibc*)
@@ -12,9 +12,9 @@
  netbsd* | knetbsd*-gnu)
    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
      lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
---- gdb-6.3/libtool.m4.orig	Wed Jul 21 21:21:41 2004
-+++ gdb-6.3/libtool.m4	Mon Feb 28 00:08:11 2005
-@@ -653,6 +653,11 @@
+--- a/libtool.m4
++++ b/libtool.m4
+@@ -751,6 +751,11 @@
    fi
    ;;
  
@@ -26,8 +26,8 @@
  newsos6)
    [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)']
    lt_cv_file_magic_cmd=/usr/bin/file
---- gdb-6.3/ltconfig.orig	Tue Oct  5 15:34:42 2004
-+++ gdb-6.3/ltconfig	Sun Feb 27 18:14:41 2005
+--- a/ltconfig
++++ b/ltconfig
 @@ -602,7 +602,7 @@
  
  # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
@@ -62,9 +62,9 @@
  netbsd*)
    need_lib_prefix=no
    need_version=no
---- gdb-6.3/opcodes/configure.orig	Fri Sep 17 08:13:38 2004
-+++ gdb-6.3/opcodes/configure	Mon Feb 28 00:09:42 2005
-@@ -3595,6 +3595,11 @@
+--- a/opcodes/configure
++++ b/opcodes/configure
+@@ -3591,6 +3591,11 @@
    fi
    ;;
  

Modified: trunk/buildroot/toolchain/gdb/6.5/200-uclibc-readline-conf.patch
===================================================================

buildroot/toolchain/gdb/6.5/200-uclibc-readline-conf.patch +3 -3
@@ -1,6 +1,6 @@
---- gdb-6.1.1-dist/readline/configure	2003-05-27 18:29:47.000000000 -0500
-+++ gdb-6.1.1/readline/configure	2004-08-09 14:20:23.000000000 -0500
-@@ -6249,7 +6249,12 @@
+--- a/readline/configure
++++ b/readline/configure
+@@ -7871,7 +7871,12 @@
  
  
  echo "$as_me:$LINENO: checking for mbstate_t" >&5

Modified: trunk/buildroot/toolchain/gdb/6.5/400-mips-coredump.patch-2.4.23-29
===================================================================

buildroot/toolchain/gdb/6.5/400-mips-coredump.patch-2.4.23-29 +3 -3
@@ -1,9 +1,9 @@
 Sometime around 2.4.22-23, the mips pt_regs.h fields were reordered, breaking
 coredump handling by gdb for current kernels.  Update the hardcoded constants
 to reflect the change.
---- gdb-6.2.1/gdb/mips-linux-tdep.c-orig	2004-10-29 14:23:55.000000000 -0500
-+++ gdb-6.2.1/gdb/mips-linux-tdep.c	2004-10-29 14:26:44.000000000 -0500
-@@ -53,12 +53,22 @@
+--- a/gdb/mips-linux-tdep.h
++++ b/gdb/mips-linux-tdep.h
+@@ -41,12 +41,22 @@
  
  #define EF_REG0			6
  #define EF_REG31		37

Modified: trunk/buildroot/toolchain/gdb/6.5/500-thread-timeout.patch
===================================================================

buildroot/toolchain/gdb/6.5/500-thread-timeout.patch +6 -7
@@ -1,14 +1,14 @@
---- gdb-6.3.org/gdb/gdbserver/thread-db.c	2004-10-17 02:42:00.000000000 +0900
-+++ gdb-6.3/gdb/gdbserver/thread-db.c	2005-01-27 12:19:29.000000000 +0900
+--- a/gdb/gdbserver/thread-db.c
++++ b/gdb/gdbserver/thread-db.c
 @@ -21,6 +21,7 @@
-    Foundation, Inc., 59 Temple Place - Suite 330,
-    Boston, MA 02111-1307, USA.  */
+    Foundation, Inc., 51 Franklin Street, Fifth Floor,
+    Boston, MA 02110-1301, USA.  */
  
 +#include <unistd.h>
  #include "server.h"
  
  #include "linux-low.h"
-@@ -142,6 +143,7 @@
+@@ -134,6 +135,7 @@
    td_event_msg_t msg;
    td_err_e err;
    struct inferior_linux_data *tdata;
@@ -16,7 +16,7 @@
  
    if (debug_threads)
      fprintf (stderr, "Thread creation event.\n");
-@@ -152,7 +154,13 @@
+@@ -144,7 +146,13 @@
       In the LinuxThreads implementation, this is safe,
       because all events come from the manager thread
       (except for its own creation, of course).  */
@@ -31,4 +31,3 @@
    if (err != TD_OK)
      fprintf (stderr, "thread getmsg err: %s\n",
  	     thread_db_err_str (err));
-

Modified: trunk/buildroot/toolchain/gdb/6.5/600-fix-compile-flag-mismatch.patch
===================================================================

buildroot/toolchain/gdb/6.5/600-fix-compile-flag-mismatch.patch +18 -23

77 lines not on this page · raw message