gcov960 Coverage Analyzer


gcov960 produces basic-block coverage analysis of a program. When a program is compiled with the fdb compiler driver option, a corresponding database directory is created. Whenever the program is executed, test coverage information is recorded in a profile file called default.pf. Subsequent runs will overwrite this file; use gmpf960 to merge profiles.

gcov960 takes optional source files and module names as arguments. It reads the source file and produces an annotated listing of the source file with the coverage data in file.cov (if the rl option is used). Each statement within a basic block is prefixed with the number of times it has been executed. Lines that have not been executed are prefixed with ########.

The gcov960 coverage invocation command is:

gcov960 [ -control ]... [ file [=module,...]...] [ -option ]...

gcov960 controls and options are described below. Each option must be preceded by a - character. (On DOS, you can also use a / character.)

file identifies a source file, from the profiled program represented in the program database. Specifying file=module,... restricts the operation of gcov960 to the file or module(s).


Controls



Options



Return to the top of this page.

Go to the ic960 Interface Index.

Go to the gcc960 Interface Index.