Re: gcov not generating .gcda file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux