This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
GCOV issues with forked processes
- From: Rohith Pottabathni <rohithnp at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 22 Jul 2009 11:26:51 -0700
- Subject: GCOV issues with forked processes
I am having trouble getting code coverage from my child process. gcov
basically returns the data for all the executions done by the parent
but returns 0% for anything run by the child
is there something i need to do to get gcov to gather data from the
child process?
I read that gcov will do this automatically but it seems this is not
the case in my situation
thanks