Generate more tags in gdb/testsuite/Makefile
authorTom Tromey <tom@tromey.com>
Thu, 13 Sep 2018 22:30:48 +0000 (16:30 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 13 Sep 2018 22:30:48 +0000 (16:30 -0600)
I noticed that the TAGS target in gdb/testsuite/Makefile does not pick
up Tcl procs defined with proc_with_prefix or gdb_caching_proc.  This
patch fixes this by updating the regexp.

Tested in Emacs.

gdb/testsuite/ChangeLog
2018-09-13  Tom Tromey  <tom@tromey.com>

* Makefile.in (TAGS): Recognize proc_with_prefix and
gdb_caching_proc.

gdb/testsuite/ChangeLog
gdb/testsuite/Makefile.in

index 97613f34a1bac8bcf91ad36f5c225fa2619e22b3..a49dded5b7d618bf14b78a11b9d8cb82d73a7e8a 100644 (file)
@@ -1,3 +1,8 @@
+2018-09-13  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (TAGS): Recognize proc_with_prefix and
+       gdb_caching_proc.
+
 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
 
        * gdb.python/py-progspace.exp: Test the Progspace.objfiles
index e7be686406ba2e5278e1e63738e33c745d64f07c..ece7e252c5165e4e148d1011bc8520294d9a6bf1 100644 (file)
@@ -348,7 +348,9 @@ config.status: configure
 
 TAGS: force
        find $(srcdir) -name '*.exp' -print | \
-           etags --regex='/proc[ \t]+\([^ \t]+\)/\1/' -
+           etags \
+               --regex='/\(proc\|proc_with_prefix\|gdb_caching_proc\)[ \t]+\([^ \t]+\)/\2/' \
+               -
 
 # Build the expect wrapper script that preloads the read1.so library.
 expect-read1:
This page took 0.046461 seconds and 4 git commands to generate.