IDEs like NetBeans has made life easier and more productive.
But, you may as well use utilities like 'cscope' when all you have is a console login. Here is how you would set up MySQL sources for easy cross-referencing using 'cscope':
Build the cross-reference:
Go the MySQL sources top-level directory and build the
cross-reference (-R is used to descend recursively into
the directories, and -b builds the
cross-references):
/home/as227057/dev-tools/mysql-5.1.25-rc" 24 $ cscope -Rb
Search for symbols, functions, etc:
$cscope` -R brings up a text based interface:
Find this C symbol: Find this global definition: Find functions called by this function: Find functions calling this function: Find this text string: Change this text string: Find this egrep pattern: Find this file: Find files #including this file: Find all …[Read more]