Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* FYI: add TAGS target in testsuite
@ 2011-03-07 17:24 Tom Tromey
  2011-03-07 18:00 ` Pierre Muller
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Tom Tromey @ 2011-03-07 17:24 UTC (permalink / raw)
  To: gdb-patches

I am checking this in.

I wanted to be able to use tags in the testsuite.  This patch adds a
"TAGS" target to the testsuite Makefile.

I am undecided as to whether I should add this to gdb/TAGS via `etags
--include'.  If you use etags, and have an opinion, let me know.

Tom

2011-03-07  Tom Tromey  <tromey@redhat.com>

	* Makefile.in (TAGS): New target.

diff --git a/gdb/testsuite/Makefile.in b/gdb/testsuite/Makefile.in
index c1356c5..8017ff0 100644
--- a/gdb/testsuite/Makefile.in
+++ b/gdb/testsuite/Makefile.in
@@ -242,3 +242,7 @@ Makefile : Makefile.in config.status $(host_makefile_frag)
 
 config.status: configure
 	$(SHELL) config.status --recheck
+
+TAGS: force
+	etags --language=none --regex='/proc[ \t]+\([^ \t]+\)/\1/' \
+	  `find $(srcdir) -name '*.exp' -print`


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-03-07 22:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-07 17:24 FYI: add TAGS target in testsuite Tom Tromey
2011-03-07 18:00 ` Pierre Muller
     [not found] ` <21165.0532474325$1299518488@news.gmane.org>
2011-03-07 18:06   ` Tom Tromey
2011-03-07 18:42     ` Eli Zaretskii
2011-03-08  1:11       ` Tom Tromey
2011-03-07 18:43 ` FYI: " Eli Zaretskii
2011-03-07 20:10 ` Michael Snyder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox