This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


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

Re: header dependency; Was: [rfc] Re-merged regcache.h patch


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


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