This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: "cscope" type functionality
- From: Tom Tromey <tromey at redhat dot com>
- To: Perry Smith <pedz at easesoftware dot net>
- Cc: GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: 12 Feb 2006 16:03:54 -0700
- Subject: Re: "cscope" type functionality
- References: <C72EF7FE-E2AE-462C-96E2-A1ECC9028798@easesoftware.net>
- Reply-to: tromey at redhat dot com
>>>>> "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