|Help needed with gcov email@example.com (2005-10-20)|
|Re: Help needed with gcov firstname.lastname@example.org (Balbir Singh) (2005-10-23)|
|From:||Balbir Singh <email@example.com>|
|Date:||23 Oct 2005 00:36:34 -0400|
|Posted-Date:||23 Oct 2005 00:36:34 EDT|
> 1. For all the source files .da file is not generated.
> 2. Even when I can see that a particular line is being executed, e.g. I
> can see the output for a cout command, gcov states that the particular
> line was never executed.
> I have compiled my code with the -fprofile-arcs -ftest-coverage
> options and the gcov version I am using is 1.5 along with gcc gcc
> version 2.95.3 20010315 running on a sun solaris machine.
There are some known issues with gcov and gcc 2.95. You might want to
move to the next higher version (3.0)+. There are some patches posted
(search-able via google), but none of them worked for me.
Return to the
Search the comp.compilers archives again.