From: Chong Yidong <cyd@stupidchicken.com>
To: Tom Tromey <tromey@redhat.com>
Cc: emacs-devel@gnu.org
Subject: Re: Patch: etags -vs- GCC sources
Date: Sun, 03 Feb 2008 23:53:47 -0500 [thread overview]
Message-ID: <87ejbtmiec.fsf@stupidchicken.com> (raw)
In-Reply-To: <m3vee0am9b.fsf@fleche.redhat.com> (Tom Tromey's message of "Wed\, 06 Jun 2007 13\:58\:08 -0600")
Tom Tromey <tromey@redhat.com> writes:
> GCC marks some global variables with 'GTY'. This is defined to expand
> to nothing when compiling, but a separate tool uses these markers to
> generate information about roots for the garbage collector.
>
> etags doesn't know what to do with these markers and consequently many
> tags are not found when running etags on GCC. Here's an example of a
> definition from g++ that is not found by etags:
>
> static GTY (()) cp_parser *the_parser;
>
> The appended patch changes etags to treat GTY as a synonym for
> __attribute__. This seems to work for me. I spot-checked it by
> looking for several tags which I previously could not find.
Sorry, this one seems to have been lost in the pile.
No one seems to have objected, so I committed it to the trunk.
prev parent reply other threads:[~2008-02-04 4:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-06 19:58 Patch: etags -vs- GCC sources Tom Tromey
2008-02-04 4:53 ` Chong Yidong [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ejbtmiec.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
--cc=tromey@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).