cscope. (wanted to mod up other scope post, but i don't have karma yet).
- global search and replace
- find all places a function is called
- find all places called by a function
- find files including this file.
really simple usage: $ cscope -R
if you don't know vi, then change your EDITOR and VIEWER environmental variables to your preferred editor.