From 6698343534f20492b1e4346b0ec763fc722ca9c5 Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Sun, 1 Feb 2015 23:37:05 +0000 Subject: [PATCH] upgrade to gdb 4.8.2 --- .../{gdb-7.7.patch => gdb-7.8.2.patch} | 20 ++++--------------- select_toolchain.sh | 2 +- 2 files changed, 5 insertions(+), 17 deletions(-) rename dkppc/patches/{gdb-7.7.patch => gdb-7.8.2.patch} (51%) diff --git a/dkppc/patches/gdb-7.7.patch b/dkppc/patches/gdb-7.8.2.patch similarity index 51% rename from dkppc/patches/gdb-7.7.patch rename to dkppc/patches/gdb-7.8.2.patch index 76da187..a8fc7e9 100644 --- a/dkppc/patches/gdb-7.7.patch +++ b/dkppc/patches/gdb-7.8.2.patch @@ -1,7 +1,7 @@ -diff -Nbaur gdb-7.7/gdb/Makefile.in gdb-7.7-ppc/gdb/Makefile.in ---- gdb-7.7/gdb/Makefile.in 2014-02-06 02:21:29.000000000 +0000 -+++ gdb-7.7-ppc/gdb/Makefile.in 2014-04-01 14:01:24.000000000 +0100 -@@ -2307,10 +2307,10 @@ +diff -NBaur gdb-7.8.2/gdb/Makefile.in gdb-7.8.2-ppc/gdb/Makefile.in +--- gdb-7.8.2/gdb/Makefile.in 2015-01-15 10:58:12.000000000 +0000 ++++ gdb-7.8.2-ppc/gdb/Makefile.in 2015-02-01 22:38:26.102220000 +0000 +@@ -2516,10 +2516,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. @@ -16,15 +16,3 @@ diff -Nbaur gdb-7.7/gdb/Makefile.in gdb-7.7-ppc/gdb/Makefile.in @GMAKE_TRUE@else @GMAKE_TRUE@override COMPILE.pre = source='$<' object='$@' libtool=no \ @GMAKE_TRUE@ DEPDIR=$(DEPDIR) $(DEPMODE) $(depcomp) $(CC) -diff -Nbaur gdb-7.7/sim/ppc/Makefile.in gdb-7.7-ppc/sim/ppc/Makefile.in ---- gdb-7.7/sim/ppc/Makefile.in 2013-12-08 04:55:48.000000000 +0000 -+++ gdb-7.7-ppc/sim/ppc/Makefile.in 2014-04-01 14:01:24.000000000 +0100 -@@ -552,7 +552,7 @@ - PACKAGE_OBJ = @sim_pk_obj@ - - --psim: $(TARGETLIB) main.o $(LIBIBERTY_LIB) $(BFD_LIB) $(LIBS) $(LIBINTL_DEP) -+psim: $(TARGETLIB) main.o $(LIBIBERTY_LIB) $(BFD_LIB) $(LIBINTL_DEP) - $(CC) $(CFLAGS) $(SIM_CFLAGS) $(LDFLAGS) -o psim$(EXEEXT) main.o $(TARGETLIB) $(BFD_LIB) $(LIBINTL) $(LIBIBERTY_LIB) $(LIBS) - - run: psim diff --git a/select_toolchain.sh b/select_toolchain.sh index 253273e..42ae29d 100755 --- a/select_toolchain.sh +++ b/select_toolchain.sh @@ -43,7 +43,7 @@ case "$VERSION" in GCC_VER=4.9.2 BINUTILS_VER=2.25 NEWLIB_VER=2.0.0 - GDB_VER=7.7 + GDB_VER=7.8.2 basedir='dkppc' package=devkitPPC target=powerpc-eabi