How to use GCOV

All design tool related questions: compiler, assembler, linker. Embedded programming questions: assembler, C code.

Moderator: nferre

paspe
Posts: 7
Joined: Mon May 21, 2007 5:41 pm

How to use GCOV

Wed Mar 25, 2009 4:10 pm

I want to use a coverage tool for a software running under Linux on a board based on a AT91SAM9263 processor.

I add the following compilation options in the Makefile:
-fprofile-arcs -ftest-coverage

A gcno file is created.
I copy the binary file into the device and when I execute it, the gcov file is not created.

After i want to use arm-linux-gcov to analyze this file

How can i generate the gcov file ?

Thanks for your help

Return to “Development Tools”

Who is online

Users browsing this forum: No registered users and 2 guests