summaryrefslogtreecommitdiff
path: root/toolchain/gdb/snapshot/680-debian_sim-destdir.patch
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-09-16 04:47:53 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-09-16 04:47:53 +0000
commit05a534e662420dab01bf4695447b34b2c0d0eb61 (patch)
tree2f646c177312948566cc8085172c0b2ad2026aeb /toolchain/gdb/snapshot/680-debian_sim-destdir.patch
parent7956dda04e5e7fc017517e52b06076c649c17389 (diff)
Add patches for latest snapshot of gdb. The starting point was the 6.3
patches which were then sliced down to this list since all the other ones were checked in or just applied with horrific failure. Also added new NPTL support patch for MIPS courtesy of Daniel J. Suckers, err I mean testers wanted.
Diffstat (limited to 'toolchain/gdb/snapshot/680-debian_sim-destdir.patch')
-rw-r--r--toolchain/gdb/snapshot/680-debian_sim-destdir.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/toolchain/gdb/snapshot/680-debian_sim-destdir.patch b/toolchain/gdb/snapshot/680-debian_sim-destdir.patch
new file mode 100644
index 000000000..0c105785f
--- /dev/null
+++ b/toolchain/gdb/snapshot/680-debian_sim-destdir.patch
@@ -0,0 +1,26 @@
+Fix some missing uses of DESTDIR in the sim/ directories. The Debian
+packages use DESTDIR to build.
+--
+diff -ur gdb-6.3.50.20050915/sim/Makefile.in gdb-6.3.50.20050915-patched/sim/Makefile.in
+--- gdb-6.3.50.20050915/sim/Makefile.in 2005-01-28 18:53:13.000000000 -0600
++++ gdb-6.3.50.20050915-patched/sim/Makefile.in 2005-09-15 23:17:42.000000000 -0500
+@@ -93,6 +93,7 @@
+ "CC=$(CC)" \
+ "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
+ "CFLAGS=$(CFLAGS)" \
++ "DESTDIR=$(DESTDIR)" \
+ "RANLIB=$(RANLIB)" \
+ "MAKEINFO=$(MAKEINFO)" \
+ "INSTALL=$(INSTALL)" \
+diff -ur gdb-6.3.50.20050915/sim/erc32/Makefile.in gdb-6.3.50.20050915-patched/sim/erc32/Makefile.in
+--- gdb-6.3.50.20050915/sim/erc32/Makefile.in 2000-03-07 09:32:49.000000000 -0600
++++ gdb-6.3.50.20050915-patched/sim/erc32/Makefile.in 2005-09-15 23:18:22.000000000 -0500
+@@ -53,7 +53,7 @@
+ # Copy the files into directories where they will be run.
+ install-sis: installdirs
+ n=`echo sis | sed '$(program_transform_name)'`; \
+- $(INSTALL_PROGRAM) sis$(EXEEXT) $(bindir)/$$n$(EXEEXT)
++ $(INSTALL_PROGRAM) sis$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT)
+
+ clean-sis:
+ rm -f sis end end.h