From 6c05ff5a858ba64f3e7abe597cf747cfb1d9959d Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Mon, 16 May 2016 11:11:07 +0100 Subject: [PATCH] update to gdb 7.11 --- dkarm-eabi/patches/gdb-7.11.patch | 32 +++++++++++++++++++++++++++++++ select_toolchain.sh | 2 +- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 dkarm-eabi/patches/gdb-7.11.patch diff --git a/dkarm-eabi/patches/gdb-7.11.patch b/dkarm-eabi/patches/gdb-7.11.patch new file mode 100644 index 0000000..5f5dabf --- /dev/null +++ b/dkarm-eabi/patches/gdb-7.11.patch @@ -0,0 +1,32 @@ +diff -NBaur gdb-7.11/gdb/Makefile.in gdb-7.11-arm/gdb/Makefile.in +--- gdb-7.11/gdb/Makefile.in 2016-02-24 09:55:15.000000000 +0000 ++++ gdb-7.11-arm/gdb/Makefile.in 2016-05-13 15:06:03.629019640 +0100 +@@ -2726,10 +2726,8 @@ + # Note that we put the dependencies into a .Tpo file, then move them + # into place if the compile succeeds. We need this because gcc does + # not atomically write the dependency output file. +-@GMAKE_TRUE@override COMPILE.post = -c -o $@ -MT $@ -MMD -MP \ +-@GMAKE_TRUE@ -MF $(DEPDIR)/$(basename $(@F)).Tpo +-@GMAKE_TRUE@override POSTCOMPILE = @mv $(DEPDIR)/$(basename $(@F)).Tpo \ +-@GMAKE_TRUE@ $(DEPDIR)/$(basename $(@F)).Po ++@GMAKE_TRUE@override COMPILE.post = -c -o $@ ++@GMAKE_TRUE@override POSTCOMPILE = + @GMAKE_TRUE@else + @GMAKE_TRUE@override COMPILE.pre = source='$<' object='$@' libtool=no \ + @GMAKE_TRUE@ DEPDIR=$(DEPDIR) $(DEPMODE) $(depcomp) $(CC) +diff -NBaur gdb-7.11/sim/common/Make-common.in gdb-7.11-arm/sim/common/Make-common.in +--- gdb-7.11/sim/common/Make-common.in 2016-02-10 03:19:39.000000000 +0000 ++++ gdb-7.11-arm/sim/common/Make-common.in 2016-05-13 15:06:03.633019640 +0100 +@@ -402,10 +402,8 @@ + # Note that we put the dependencies into a .Tpo file, then move them + # into place if the compile succeeds. We need this because gcc does + # not atomically write the dependency output file. +-@GMAKE_TRUE@override COMPILE.post = -c -o $@ -MT $@ -MMD -MP \ +-@GMAKE_TRUE@ -MF $(DEPDIR)/$(basename $(@F)).Tpo +-@GMAKE_TRUE@override POSTCOMPILE = @mv $(DEPDIR)/$(basename $(@F)).Tpo \ +-@GMAKE_TRUE@ $(DEPDIR)/$(basename $(@F)).Po ++@GMAKE_TRUE@override COMPILE.post = -c -o $@ ++@GMAKE_TRUE@override POSTCOMPILE = + @GMAKE_TRUE@else + @GMAKE_TRUE@override COMPILE.pre = source='$<' object='$@' libtool=no \ + @GMAKE_TRUE@ DEPDIR=$(DEPDIR) $(DEPMODE) $(depcomp) $(CC) diff --git a/select_toolchain.sh b/select_toolchain.sh index 917e8f1..84c881b 100755 --- a/select_toolchain.sh +++ b/select_toolchain.sh @@ -33,7 +33,7 @@ case "$VERSION" in GCC_VER=6.1.0 BINUTILS_VER=2.26 NEWLIB_VER=2.3.0.20160104 - GDB_VER=7.10.1 + GDB_VER=7.11 basedir='dkarm-eabi' package=devkitARM target=arm-none-eabi