header dependency; Was: [rfc] Re-merged regcache.h patch
Andrew Cagney
ac131313@cygnus.com
Wed Feb 28 15:48:00 GMT 2001
Andrew Cagney wrote:
>
> Hello,
>
> When revising the regcache.h patch, I knocked up the attatched (perl
> free zone :-) script. It grubs around the source identifying which .c
> files actually use functions/variables from a given header file.
>
> While this script is probably best treated as a novelty - it only just
> works for regcache.h - I'm wondering if anyone knows of a GPL package
> that does this analysis properly.
To answer my own question, Steven Johnson pointed out that source
navigator can do this.
It creates a database with complete information and you can query
anything - only now I need to read the manual :-)
Andrew
More information about the Gdb
mailing list