This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: add TAGS target in testsuite
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: pierre dot muller at ics-cnrs dot unistra dot fr, gdb-patches at sourceware dot org
- Date: Mon, 07 Mar 2011 19:58:24 +0200
- Subject: Re: add TAGS target in testsuite
- References: <m3vczun9qt.fsf@fleche.redhat.com> <21165.0532474325$1299518488@news.gmane.org> <m3r5ain8sa.fsf@fleche.redhat.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Tom Tromey <tromey@redhat.com>
> Cc: <gdb-patches@sourceware.org>
> Date: Mon, 07 Mar 2011 10:24:21 -0700
>
> Pierre> etags --language=none --regex='/proc[ \t]+\([^ \t]+\)/\1/' \
> Pierre> `find ../../../src/gdb/testsuite -name '*.exp' -print`
> Pierre> etags: Warning: "--language" option is obsolete; use "--language-force"
> Pierre> instead
> Pierre> etags: Unknown language "none" in "language" option
>
> I think that the Emacs etags defines the etags interface.
> If Exuberant Ctags is incompatible, then that is their bug.
Do bad things happen if you don't specify --language=none?
> I suppose one could write configury for this, but it seems like more
> trouble than it is worth to me.
>
> If you prefer, I can revert this patch.
I don't think this is reason good enough to revert the patch.
However, wouldn't "find ... | etags ... -" be slightly better?