From ff9b2dd329a07e5cf9eb21c680c39ec943a740ba Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Wed, 11 Nov 2015 00:40:43 +0000 Subject: [PATCH] update gdb to 7.10 --- dkppc/patches/gdb-7.10.patch | 18 ++++++++++++++++++ select_toolchain.sh | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 dkppc/patches/gdb-7.10.patch diff --git a/dkppc/patches/gdb-7.10.patch b/dkppc/patches/gdb-7.10.patch new file mode 100644 index 0000000..879ea5b --- /dev/null +++ b/dkppc/patches/gdb-7.10.patch @@ -0,0 +1,18 @@ +diff -NBaur gdb-7.10/gdb/Makefile.in gdb-7.10-ppc/gdb/Makefile.in +--- gdb-7.10/gdb/Makefile.in 2015-08-28 22:22:07.000000000 +0100 ++++ gdb-7.10-ppc/gdb/Makefile.in 2015-11-09 09:21:13.228003995 +0000 +@@ -2676,10 +2676,10 @@ + # 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 $@ -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@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 56602c1..a027103 100755 --- a/select_toolchain.sh +++ b/select_toolchain.sh @@ -42,8 +42,8 @@ case "$VERSION" in "2" ) GCC_VER=4.9.2 BINUTILS_VER=2.25 - GDB_VER=7.8.2 NEWLIB_VER=2.0.0 + GDB_VER=7.10 basedir='dkppc' package=devkitPPC target=powerpc-eabi