add gdb 7.0 patches

This commit is contained in:
Dave Murphy 2009-10-15 16:18:21 +00:00
parent f310eec577
commit 2ede645dea
3 changed files with 60 additions and 14 deletions

View File

@ -0,0 +1,30 @@
diff -Nbaur gdb-7.0/gdb/Makefile.in gdb-7.0-new/gdb/Makefile.in
--- gdb-7.0/gdb/Makefile.in 2009-10-02 23:06:10.000000000 +0100
+++ gdb-7.0-new/gdb/Makefile.in 2009-10-15 16:32:11.000000000 +0100
@@ -2005,10 +2005,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 -Nbaur gdb-7.0/sim/ppc/Makefile.in gdb-7.0-new/sim/ppc/Makefile.in
--- gdb-7.0/sim/ppc/Makefile.in 2009-09-16 00:26:44.000000000 +0100
+++ gdb-7.0-new/sim/ppc/Makefile.in 2009-10-15 16:31:25.000000000 +0100
@@ -551,7 +551,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

View File

@ -1,14 +0,0 @@
diff -Nbaur gdb-6.7.1/config.sub gdb-6.7.1-ppc/config.sub
--- gdb-6.7.1/config.sub Wed Aug 29 16:23:21 2007
+++ gdb-6.7.1-ppc/config.sub Mon Dec 10 22:21:17 2007
@@ -230,6 +230,10 @@
basic_machine=m68k-atari
os=-mint
;;
+ -gekko)
+ basic_machine=powerpc-devkitpro
+ os=-eabi
+ ;;
esac
# Decode aliases for certain CPU-COMPANY combinations.

View File

@ -0,0 +1,30 @@
diff -Nbaur gdb-7.0/gdb/Makefile.in gdb-7.0-new/gdb/Makefile.in
--- gdb-7.0/gdb/Makefile.in 2009-10-02 23:06:10.000000000 +0100
+++ gdb-7.0-new/gdb/Makefile.in 2009-10-15 16:32:11.000000000 +0100
@@ -2005,10 +2005,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 -Nbaur gdb-7.0/sim/ppc/Makefile.in gdb-7.0-new/sim/ppc/Makefile.in
--- gdb-7.0/sim/ppc/Makefile.in 2009-09-16 00:26:44.000000000 +0100
+++ gdb-7.0-new/sim/ppc/Makefile.in 2009-10-15 16:31:25.000000000 +0100
@@ -551,7 +551,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