Probably not exactly what you want, but the Linux Cross-Reference Tool might be handy for such a situation too ... http://sourceforge.net/projects/lxr