aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-09-13 16:30:48 -0600
committerTom Tromey <tom@tromey.com>2018-09-13 16:30:48 -0600
commit2361b0fb1d99e9c0b97f4c1f42f89f862d757128 (patch)
tree10d9bdbd21f26e92501fab3e1231bff5d938af5c /gdb
parent7d2215128b84d9dec4a264021427343d895fdc6d (diff)
downloadgdb-2361b0fb1d99e9c0b97f4c1f42f89f862d757128.zip
gdb-2361b0fb1d99e9c0b97f4c1f42f89f862d757128.tar.gz
gdb-2361b0fb1d99e9c0b97f4c1f42f89f862d757128.tar.bz2
Generate more tags in gdb/testsuite/Makefile
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/Makefile.in4
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 97613f3..a49dded 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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
diff --git a/gdb/testsuite/Makefile.in b/gdb/testsuite/Makefile.in
index e7be686..ece7e25 100644
--- a/gdb/testsuite/Makefile.in
+++ b/gdb/testsuite/Makefile.in
@@ -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: