This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "cscope" type functionality


>>>>> "Perry" == Perry Smith <pedz@easesoftware.net> writes:

Perry> gcc/g++ has the -M options to help in creating Makefiles.  It struck
Perry> me this morning that a similar switch to help in the creation of a
Perry> database to use to create a "cscope" type facility would be very
Perry> nice.  It would be nice if both cpp and gcc/g++ had this ability.

Perry> Has/Does anything like this already exist?  -- perhaps hidden in one
Perry> if the debugging files that can be produced?

Historically this idea has met with some resistance.  However this
seems to have cleared up a bit, so perhaps it is politically possible
now.

The various debugging dump files aren't the most useful -- sometimes
they omit info, I think we don't try to keep the output formats
stable, etc.

I think it would be more advisable to design something with AST
database generation as an explicit goal.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]