From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: GDB Discussion Subject: Re: header dependency; Was: [rfc] Re-merged regcache.h patch Date: Wed, 28 Feb 2001 15:48:00 -0000 Message-id: <3A9D8DB6.1CD1632C@cygnus.com> References: <3A9D137C.BF7050EA@cygnus.com> <3A9D189E.C48AD36E@cygnus.com> X-SW-Source: 2001-02/msg00439.html 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