[2/4] gdbserver: Remove a stale TAGS recipe for config files

Message ID alpine.LFD.2.21.2001231444450.14118@redsun52.ssa.fujisawa.hgst.com
State Committed
Headers

Commit Message

Maciej W. Rozycki Jan. 23, 2020, 7:40 p.m. UTC
  Complement commit 7ea814144a31 ("Fully disentangle gdb and gdbserver"), 
<https://sourceware.org/ml/gdb-patches/2002-02/msg00692.html> (from 
2002!), and remove a recipe to include config files in `make TAGS', 
which are no longer used by `gdbserver' as from that commit.

	gdb/gdbserver/
	* Makefile.in (TAGS): Remove config files from the recipe.
---
 gdb/gdbserver/Makefile.in |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

gdb-gdbserver-tags-xx-files.diff
  

Comments

Tom Tromey Jan. 23, 2020, 9:23 p.m. UTC | #1
>>>>> "Maciej" == Maciej W Rozycki <macro@wdc.com> writes:

Maciej> Complement commit 7ea814144a31 ("Fully disentangle gdb and gdbserver"), 
Maciej> <https://sourceware.org/ml/gdb-patches/2002-02/msg00692.html> (from 
Maciej> 2002!), and remove a recipe to include config files in `make TAGS', 
Maciej> which are no longer used by `gdbserver' as from that commit.

Maciej> 	gdb/gdbserver/
Maciej> 	* Makefile.in (TAGS): Remove config files from the recipe.

Thank you.  This is ok.

Tom
  
Maciej W. Rozycki Jan. 24, 2020, 1 p.m. UTC | #2
On Thu, 23 Jan 2020, Tom Tromey wrote:

> Maciej> Complement commit 7ea814144a31 ("Fully disentangle gdb and gdbserver"), 
> Maciej> <https://sourceware.org/ml/gdb-patches/2002-02/msg00692.html> (from 
> Maciej> 2002!), and remove a recipe to include config files in `make TAGS', 
> Maciej> which are no longer used by `gdbserver' as from that commit.
> 
> Maciej> 	gdb/gdbserver/
> Maciej> 	* Makefile.in (TAGS): Remove config files from the recipe.
> 
> Thank you.  This is ok.

 Now committed, thanks for your review.

  Maciej
  

Patch

Index: binutils-gdb/gdb/gdbserver/Makefile.in
===================================================================
--- binutils-gdb.orig/gdb/gdbserver/Makefile.in
+++ binutils-gdb/gdb/gdbserver/Makefile.in
@@ -456,9 +456,7 @@  $(IPA_LIB): $(sort $(IPA_OBJS)) ${CDEPS}
 # specific routine gets the one for the correct machine.
 # The xyzzy stuff below deals with empty DEPFILES
 TAGS:	${TAGFILES}
-	etags `find ${srcdir}/../config -name $(DEPRECATED_TM_FILE) -print` \
-	  `find ${srcdir}/../config -name ${XM_FILE} -print` \
-	  `find ${srcdir}/../config -name ${NAT_FILE} -print` \
+	etags \
 	  `for i in yzzy ${DEPFILES}; do \
 	     if [ x$$i != xyzzy ]; then \
 	       echo ${srcdir}/$$i | sed -e 's/\.o$$/\.c/' ; \