diff options
Diffstat (limited to 'toolchain/gdb/patches')
-rw-r--r-- | toolchain/gdb/patches/200-linux_musl.patch | 22 | ||||
-rw-r--r-- | toolchain/gdb/patches/600-fix-compile-flag-mismatch.patch | 25 |
2 files changed, 35 insertions, 12 deletions
diff --git a/toolchain/gdb/patches/200-linux_musl.patch b/toolchain/gdb/patches/200-linux_musl.patch new file mode 100644 index 000000000..738bc8b55 --- /dev/null +++ b/toolchain/gdb/patches/200-linux_musl.patch @@ -0,0 +1,22 @@ +diff -urN gdb-linaro-7.5-2012.09/config.sub gdb-linaro-7.5-2012.09.new/config.sub +--- gdb-linaro-7.5-2012.09/config.sub 2012-09-13 16:01:23.000000000 +0200 ++++ gdb-linaro-7.5-2012.09.new/config.sub 2012-11-21 18:19:43.516916352 +0100 +@@ -126,7 +126,8 @@ + linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ + knetbsd*-gnu* | netbsd*-gnu* | \ + kopensolaris*-gnu* | \ +- storm-chaos* | os2-emx* | rtmk-nova*) ++ storm-chaos* | os2-emx* | rtmk-nova* | \ ++ linux-musl*) + os=-$maybe_os + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` + ;; +@@ -1360,7 +1361,7 @@ + | -chorusos* | -chorusrdb* | -cegcc* \ + | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ + | -mingw32* | -linux-gnu* | -linux-android* \ +- | -linux-newlib* | -linux-uclibc* \ ++ | -linux-newlib* | -linux-uclibc* | -linux-musl* \ + | -uxpv* | -beos* | -mpeix* | -udk* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ diff --git a/toolchain/gdb/patches/600-fix-compile-flag-mismatch.patch b/toolchain/gdb/patches/600-fix-compile-flag-mismatch.patch index 089ab8c5a..517cf12b0 100644 --- a/toolchain/gdb/patches/600-fix-compile-flag-mismatch.patch +++ b/toolchain/gdb/patches/600-fix-compile-flag-mismatch.patch @@ -1,26 +1,27 @@ ---- a/gdb/configure -+++ b/gdb/configure -@@ -988,7 +988,7 @@ CPP +--- a/gdb/configure 2012-09-13 16:01:22.000000000 +0200 ++++ b/gdb/configure 2012-10-12 17:48:06.863908023 +0200 +@@ -828,8 +828,7 @@ YACC YFLAGS XMKMF' --ac_subdirs_all='doc testsuite -+ac_subdirs_all='doc - gdbtk +-ac_subdirs_all='testsuite +-gdbtk ++ac_subdirs_all='gdbtk multi-ice gdbserver' -@@ -7881,7 +7881,7 @@ fi +@@ -5023,7 +5022,7 @@ --subdirs="$subdirs doc testsuite" -+subdirs="$subdirs doc" + +-subdirs="$subdirs testsuite" ++subdirs="$subdirs" # Check whether to support alternative target configurations ---- a/gdb/gdbserver/configure -+++ b/gdb/gdbserver/configure -@@ -2152,7 +2152,7 @@ $as_echo "$as_me: error: \`$ac_var' was +--- a/gdb/gdbserver/configure 2012-09-13 16:01:22.000000000 +0200 ++++ b/gdb/gdbserver/configure 2012-10-12 17:49:29.775910147 +0200 +@@ -2173,7 +2173,7 @@ ac_cache_corrupted=: ;; ,);; *) |