On Sun, 2008-09-28 at 10:03 +0530, J.P. Gupta wrote:

> I have a C++ server which in turn spawns the child process to do the
> execution of actual task. Using Gcov, I am getting the code coverage
> of the main server(listener) process but the child processes are not
> getting the coverage. Is it a known issue?  
> Do I need to make changes in my settings so that the Child processes
> get covered?

No, the gcov runtime is clever enough to deal with data being generated
by both the parent and child processes.  You should not need to do
anything special.

(follow-ups to gcc-help, please).

Cheers, Ben


Reply via email to