blob: 05a5f7424d63ad95e24532e5ab349f9b3f0df7cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
cscope is an interactive, screen-oriented tool that allows the user to
browse through C source files for specified elements of code.
By default, cscope examines the C (.c and .h), lex (.l), and yacc (.y)
source files in the current directory. cscope may also be invoked for
source files named on the command line. In either case, cscope
searches the standard directories for #include files that it does not
find in the current directory. cscope uses a symbol cross-reference,
cscope.out by default, to locate functions, function calls, macros,
variables, and preprocessor symbols in the files.
cscope builds the symbol cross-reference the first time it is used on
the source files for the program being browsed. On a subsequent
invocation, cscope rebuilds the cross-reference only if a source file
has changed or the list of source files is different. When the
cross-reference is rebuilt, the data for the unchanged files are
copied from the old cross-reference, which makes rebuilding faster
than the initial build.
|