This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Help needed with gcov


Hi, does any one know where can I get some help with the code coverage tool gcov? The problems I have are a couple.

1. .da files are not generated for each source code file compiled with -fprofile-arcs -ftest-coverage options but only for some.
2. Even for the ones where .da files are generated, gcov states that none of the code was executed when I can see that some particular lines were executed. e.g. cout << "Hello World" will show me the output but gcov will state that the line was never executed.


Do you know where I can find some help?

Thanx, Sunil.
407-916-3521.

PS: The version I am using for gcov is 1.5 and gcc version is 2.95.3 20010315 (release) running on Sun-Solaris.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]