Initial commit
This commit is contained in:
20
toolchain/gdb/patches/100-fix-elf-support-check.patch
Normal file
20
toolchain/gdb/patches/100-fix-elf-support-check.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
--- a/gdb/configure
|
||||
+++ b/gdb/configure
|
||||
@@ -16818,6 +16818,7 @@ else
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
#include "bfd.h"
|
||||
#include "elf-bfd.h"
|
||||
|
||||
--- a/gdb/acinclude.m4
|
||||
+++ b/gdb/acinclude.m4
|
||||
@@ -362,6 +362,7 @@ AC_DEFUN([GDB_AC_CHECK_BFD], [
|
||||
AC_CACHE_CHECK([$1], [$2],
|
||||
[AC_TRY_LINK(
|
||||
[#include <stdlib.h>
|
||||
+ #include <string.h>
|
||||
#include "bfd.h"
|
||||
#include "$4"
|
||||
],
|
||||
11
toolchain/gdb/patches/120-fix-compile-flag-mismatch.patch
Normal file
11
toolchain/gdb/patches/120-fix-compile-flag-mismatch.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/gdbserver/configure
|
||||
+++ b/gdbserver/configure
|
||||
@@ -2661,7 +2661,7 @@ $as_echo "$as_me: error: \`$ac_var' was
|
||||
ac_cache_corrupted=: ;;
|
||||
,);;
|
||||
*)
|
||||
- if test "x$ac_old_val" != "x$ac_new_val"; then
|
||||
+ if test "`echo x$ac_old_val`" != "`echo x$ac_new_val`"; then
|
||||
# differences in whitespace do not lead to failure.
|
||||
ac_old_val_w=`echo x $ac_old_val`
|
||||
ac_new_val_w=`echo x $ac_new_val`
|
||||
Reference in New Issue
Block a user