From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23619 invoked by alias); 7 Mar 2011 20:00:27 -0000 Received: (qmail 23608 invoked by uid 22791); 7 Mar 2011 20:00:26 -0000 X-SWARE-Spam-Status: No, hits=-5.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-outbound-2.vmware.com (HELO smtp-outbound-2.vmware.com) (65.115.85.73) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 07 Mar 2011 20:00:21 +0000 Received: from mailhost2.vmware.com (mailhost2.vmware.com [10.16.67.167]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 22B5154000; Mon, 7 Mar 2011 12:00:20 -0800 (PST) Received: from msnyder-server.eng.vmware.com (promd-2s-dhcp138.eng.vmware.com [10.20.124.138]) by mailhost2.vmware.com (Postfix) with ESMTP id 1A6E08ED64; Mon, 7 Mar 2011 12:00:20 -0800 (PST) Message-ID: <4D753953.5040601@vmware.com> Date: Mon, 07 Mar 2011 20:10:00 -0000 From: Michael Snyder User-Agent: Thunderbird 2.0.0.24 (X11/20101201) MIME-Version: 1.0 To: Tom Tromey CC: "gdb-patches@sourceware.org" Subject: Re: FYI: add TAGS target in testsuite References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-03/txt/msg00491.txt.bz2 Tom Tromey wrote: > 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. I use etags. My preference would be not to. These test files aren't part of gdb. > 2011-03-07 Tom Tromey > > * 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`