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]

Re: gcov not generating .gcda file


Hey,

> I was doing some coverage testing today using gcov and gcc (4.1.2 on
> Linux), and for some reason, the .gcda files quit getting generated.

When saying quit generating: don't you get any .gcda file or are there
just a few files missing beginning from a certain point of time?

> There are no other errors.  The tests run fine and give the correct
> results.  This was working before.

Were there any changes to your environment since this was working the last
time? Did you update the gcc/gcov version? Did you possibly make any
changes to your build infrastructure?

When compiling your code with the special gcov options (-fprofile-arcs
-ftest-coverage), do you have a .gcno file for each source file or are
there possibly missing some .gcno files as well?

Andi




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