[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch: etags -vs- GCC sources

From: Chong Yidong
Subject: Re: Patch: etags -vs- GCC sources
Date: Sun, 03 Feb 2008 23:53:47 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.90 (gnu/linux)

Tom Tromey <address@hidden> 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]