summaryrefslogtreecommitdiff
path: root/package/gdb/patches/7.8.2/patch-gdb_gdbserver_configure
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-03-08 18:11:49 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-03-09 07:39:32 +0100
commitb8ae02c5ff75edb638ab67e487227973bc34fb2f (patch)
tree86e7f7258796aa13f95969e00312884bf39e2299 /package/gdb/patches/7.8.2/patch-gdb_gdbserver_configure
parentd1c7e084c6ac11bc8d45f24ce6e3a8b659f902b2 (diff)
add support for gdbserver on AVR32 devices
Happily I got the old gdb tarball from buildroot source repository. (thx Yann) Mirror the package and make it compile for native gdbserver. Patches need to be shuffled to version directories.
Diffstat (limited to 'package/gdb/patches/7.8.2/patch-gdb_gdbserver_configure')
-rw-r--r--package/gdb/patches/7.8.2/patch-gdb_gdbserver_configure20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/gdb/patches/7.8.2/patch-gdb_gdbserver_configure b/package/gdb/patches/7.8.2/patch-gdb_gdbserver_configure
new file mode 100644
index 000000000..fb32187b2
--- /dev/null
+++ b/package/gdb/patches/7.8.2/patch-gdb_gdbserver_configure
@@ -0,0 +1,20 @@
+--- gdb-7.6.orig/gdb/gdbserver/configure 2013-03-11 09:35:09.000000000 +0100
++++ gdb-7.6/gdb/gdbserver/configure 2013-12-23 19:39:06.000000000 +0100
+@@ -4927,9 +4927,6 @@ if test "${GCC}" = yes -a -z "${ERROR_ON
+ fi
+
+ WERROR_CFLAGS=""
+-if test "${ERROR_ON_WARNING}" = yes ; then
+- WERROR_CFLAGS="-Werror"
+-fi
+
+ build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
+ -Wformat-nonliteral -Wno-char-subscripts -Wempty-body"
+@@ -4943,7 +4940,6 @@ $as_echo_n "checking compiler warning fl
+ # compiled with it enabled.
+ for w in ${build_warnings}; do
+ case $w in
+- -Werr*) WERROR_CFLAGS=-Werror ;;
+ *) # Check that GCC accepts it
+ saved_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS $w"