gtags-cscope

Langue: en

Version: May 2006 (mandriva - 01/05/08)

Section: 1 (Commandes utilisateur)

NAME

gtags-cscope - pseudo cscope which implements the line-oriented interface

SYNOPSIS

gtags-cscope [-Cqv]

DESCRIPTION

Gtags-cscope is a pseudo cscope which implements the line-oriented interface. You can use this command for various clients instead of true cscope.

Since gtags-cscope is intended to make GLOBAL available through cscope interface, the output is not necessarily the same as cscope.

OPTIONS

The following options are available:
-C, --ignore-case
Ignore letter case when searching.
-q, --quiet
Quiet mode.
-v, --verbose
Verbose mode.

EXAMPLES

         $ gtags-cscope
         >> help
         0<arg>: Find this C symbol
         1<arg>: Find this definition
         2<arg>: Find functions called by this function
                 (Not implemented yet.)
         3<arg>: Find functions calling this function
         4<arg>: Find this text string
         6<arg>: Find this egrep pattern
         7<arg>: Find this file
         8<arg>: Find files #including this file
         c: Toggle ignore/use letter case
         r: Rebuild the database
         q: Quit the session
         h: Show help
         >> 1main
         cscope: 9 lines
         global/global.c main 158 main(int argc, char **argv)
         gozilla/gozilla.c main 155 main(int argc, char **argv)
         gtags-parser/gctags.c main 158 main(int argc, char **argv)
         gtags-cscope/gtags-cscope.c main 115 main(int argc, char **argv)
         gtags/gtags.c main 150 main(int argc, char **argv)
         htags-refkit/htags_path2url.c main 281 main(int argc, char **argv)
         htags/htags.c main 1400 main(int argc, char **argv)
         libglibc/getopt.c main 704 main (argc, argv)
         libglibc/getopt1.c main 93 main (argc, argv)
         >> q
         $ _
 

DIAGNOSTICS

Gtags-cscope exits with a non 0 value if an error occurred, 0 otherwise.

SEE ALSO

cscope(1), gtags-parser(1), gtags(1), global(1), htags(1).

GNU GLOBAL source code tag system
(http://www.gnu.org/software/global/).

BUG

The second field of the output is almost <unknown> since GLOBAL doesn't recognize it. Command 2 (Find functions called by this function) is not implemented.

AUTHOR

Tama Communications Corporation.

HISTORY

The gtags-cscope command appeared in 2006.