This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FYI: revert gdb-add-index


As promised, here is the patch to revert gdb-add-index.
I am checking this in.

Tom

2010-08-10  Tom Tromey  <tromey@redhat.com>

	Revert gdb-add-index addition:
	* Makefile.in (install-only): Don't install gdb-add-index.
	* gdb-add-index.sh: Remove.

2010-08-10  Tom Tromey  <tromey@redhat.com>

	Revert gdb-add-index addition:
	* gdb.texinfo (Index Files): Don't document gdb-add-index.

Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.1129
diff -u -r1.1129 Makefile.in
--- Makefile.in	30 Jul 2010 20:46:34 -0000	1.1129
+++ Makefile.in	10 Aug 2010 18:32:14 -0000
@@ -1018,16 +1018,7 @@
 		$(SHELL) $(srcdir)/../mkinstalldirs \
 			$(DESTDIR)$(man1dir) ; \
 		$(INSTALL_DATA) $(srcdir)/gdb.1 \
-			$(DESTDIR)$(man1dir)/$$transformed_name.1; \
-	transformed_name=`t='$(program_transform_name)'; \
-			  echo gdb-add-index | sed -e "$$t"` ; \
-		if test "x$$transformed_name" = x; then \
-		  transformed_name=gdb-add-index ; \
-		else \
-		  true ; \
-		fi ; \
-		$(INSTALL_PROGRAM) $(srcdir)/gdb-add-index.sh \
-			$(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT)
+			$(DESTDIR)$(man1dir)/$$transformed_name.1
 	@$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
 .PHONY: install-tui
 install-tui:
Index: doc/gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.748
diff -u -r1.748 gdb.texinfo
--- doc/gdb.texinfo	7 Aug 2010 15:00:38 -0000	1.748
+++ doc/gdb.texinfo	10 Aug 2010 18:32:18 -0000
@@ -15252,16 +15252,6 @@
 for DWARF debugging information, not stabs.  And, they do not
 currently work for programs using Ada.
 
-@pindex gdb-add-index
-@value{GDBN} comes with a program, @command{gdb-add-index}, which can
-be used to add the index to a symbol file.  It takes the symbol file
-as its only argument:
-
-@smallexample
-$ gdb-add-index symfile
-@end smallexample
-
-
 @node Symbol Errors
 @section Errors Reading Symbol Files
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]