Cscope on FreeBSD

I definitely can’t survive without cscope. Now that I am hacking FreeBSD, I was not able to find `make cscope` as we have in Linux.

Thus, I created this very simple script to index the whole FreeBSD kernel.

find . -name "*.[chxsS]" -print > cscope.files
cscope -q -b -k cscope.files
Advertisements