> Emacs, for example, comes with an app called etags that
> generates a database emacs can then use to jump
> directly to the place where a function is defined...
Thanks for the 2 responses I got, but I'm afraid you are
answering the wrong question. What I want is not a nifty
editor function. I want something that will read in my
source code and produce something like this:
Procedure A calls:
B
C
D
Procedure B calls:
E
Procedure D calls:
F
G
etc.
In other words, a cross reference of procedure calls.
Another "nice-to-have" that most compilers generate is a
list of variables used. That's a good way to ensure that
you don't have any variables that are not used.
I can't find an option in GCC to do either of these two
things, both of which are commonly provided by compilers :-(
Tom