]> git.pld-linux.org Git - packages/gdb.git/blobdiff - gdb-gdb-add-index-script.patch
- fix deps for libgdb.a
[packages/gdb.git] / gdb-gdb-add-index-script.patch
index c770a77153691c8b4544fe5cb062b0e52a7ef012..c15df68e481268f6193a5ae455d2d560f800002f 100644 (file)
@@ -40,16 +40,16 @@ Subject: [PATCH 4/4] add gdb-add-index
  5 files changed, 57 insertions(+), 1 deletions(-)
  create mode 100755 gdb/gdb-add-index
 
-diff --git a/gdb/Makefile.in b/gdb/Makefile.in
-index 6dbb284..8210a2c 100644
---- a/gdb/Makefile.in
-+++ b/gdb/Makefile.in
-@@ -1018,7 +1018,16 @@ install-only: $(CONFIG_INSTALL) xml-syscall-install
-               $(SHELL) $(srcdir)/../mkinstalldirs \
-                       $(DESTDIR)$(man1dir) ; \
+Index: gdb-7.4.50.20120103/gdb/Makefile.in
+===================================================================
+--- gdb-7.4.50.20120103.orig/gdb/Makefile.in   2012-01-03 05:53:25.000000000 +0100
++++ gdb-7.4.50.20120103/gdb/Makefile.in        2012-01-03 15:24:25.693543435 +0100
+@@ -1033,7 +1033,16 @@ install-only: install-gstack $(CONFIG_IN
                $(INSTALL_DATA) $(srcdir)/gdb.1 \
--                      $(DESTDIR)$(man1dir)/$$transformed_name.1
-+                      $(DESTDIR)$(man1dir)/$$transformed_name.1; \
+                       $(DESTDIR)$(man1dir)/$$transformed_name.1 ; \
+               $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(includedir)/gdb ; \
+-              $(INSTALL_DATA) jit-reader.h $(DESTDIR)$(includedir)/gdb/jit-reader.h
++              $(INSTALL_DATA) jit-reader.h $(DESTDIR)$(includedir)/gdb/jit-reader.h; \
 +      transformed_name=`t='$(program_transform_name)'; \
 +                        echo gdb-add-index | sed -e "$$t"` ; \
 +              if test "x$$transformed_name" = x; then \
@@ -60,13 +60,13 @@ index 6dbb284..8210a2c 100644
 +              $(INSTALL_PROGRAM) $(srcdir)/gdb-add-index \
 +                      $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT)
        @$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
- .PHONY: install-tui
- install-tui:
-diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
-index 69141e3..457e6b4 100644
---- a/gdb/doc/gdb.texinfo
-+++ b/gdb/doc/gdb.texinfo
-@@ -15045,6 +15045,14 @@ There are currently some limitation on indices.  They only work when
+ install-python:
+Index: gdb-7.4.50.20120103/gdb/doc/gdb.texinfo
+===================================================================
+--- gdb-7.4.50.20120103.orig/gdb/doc/gdb.texinfo       2012-01-03 15:20:54.000000000 +0100
++++ gdb-7.4.50.20120103/gdb/doc/gdb.texinfo    2012-01-03 15:23:43.295231946 +0100
+@@ -16228,6 +16228,14 @@ There are currently some limitation on i
  for DWARF debugging information, not stabs.  And, they do not
  currently work for programs using Ada.
  
@@ -78,14 +78,13 @@ index 69141e3..457e6b4 100644
 +$ gdb-add-index symfile
 +@end smallexample
 +
  @node Symbol Errors
  @section Errors Reading Symbol Files
-diff --git a/gdb/gdb-add-index b/gdb/gdb-add-index
-new file mode 100755
-index 0000000..c9a03b0
---- /dev/null
-+++ b/gdb/gdb-add-index
+Index: gdb-7.4.50.20120103/gdb/gdb-add-index
+===================================================================
+--- /dev/null  1970-01-01 00:00:00.000000000 +0000
++++ gdb-7.4.50.20120103/gdb/gdb-add-index      2012-01-03 15:23:43.296231942 +0100
 @@ -0,0 +1,30 @@
 +#! /bin/sh
 +
@@ -117,6 +116,3 @@ index 0000000..c9a03b0
 +fi
 +
 +exit 0
--- 
-1.6.2.5
-
This page took 0.03023 seconds and 4 git commands to generate.