gcov question

Joel Sherrill joel.sherrill at OARcorp.com
Thu Sep 2 14:33:40 UTC 2010


On 09/02/2010 08:42 AM, Mariana Solaro wrote:
> Hello, I have a question about gcov an how to use it.
> We are using the sparc ERC32 processor, and the RTEMS 4.10 version.
> We've seen that there is a tool called gcov that allows it to measure
> the tests coverage. We don´t know exactly how to use it with RTEMS. We
> already try to compile the source code with the -ftest-coverage and
> -fprofile-arcs options, but it only generates the .gcno files, and not
> the .gcda files, so when using gcov, the coverage indicated is 0%.
> When the linker starts it says that it can't find the __gcov_init and
> __gcov_merge_add functions.
> So, I would like to know how to use the gcov and gprof tools with RTEMS
> if it is posible.
>
>    
Maybe someone can help you with gcov but the rtems coverage
is not generated that way.

We can help you apply the RTEMS coverage analysis tools to
your application.  It is one of those areas we would like to
consult in to help pay the RTEMS bills. :)
> Thank You!
>
> Bye
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
>    


-- 
Joel Sherrill, Ph.D.             Director of Research&  Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985





More information about the users mailing list