DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
C programmer's productivity tools

cscope

The cscope browser builds a cross-reference symbol table for the functions, function calls, macros, and variables in designated source files. It then allows you to query that table about the locations of symbols. cscope presents a menu and asks you to choose the type of search you would like to perform. When cscope has completed this search, it prints a list of the lines on which it has found the item requested. You can then indicate which of these lines you want to examine. After you have requested a subset of the lines, cscope allows you to edit a line or to begin another search.

Throughout a cscope session, you have the option of returning to the menu from the editor to request a new search. There are a variety of single-character commands available for manipulating the menu.

Because the procedure you follow will depend on the task you select, there is no single set of instructions for using cscope. To show how this browser works, a tutorial is provided later in the chapter.


Next topic: Configuring the environment
Previous topic: Example 2: functions that are never called

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003