arm-elf-gcc with gcov option do not work

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

 



Hi all,

We're trying to use GCOV together with the ARM-ELF development 
environment.
 
Our installation is:
arm-elf-gcc: 3.4.3
arm-elf-ld:  2.15
arm-elf-ar, binutils: 2.15
 
 
(1) First we've compiled with the following standard gcc command line
    gcc -fprofile-arcs ?ftest-coverage ?o sample sample.c
    Running the image will create the expected gcov data file sample.da.

(2) After them, we've tried it with the arm-elf-gcc
    arm-elf-gcc -fprofile-arcs ?ftest-coverage ?o sample sample.c
    Running the image in the arm emulation arm-elf-run, no gcov data
    file sample.gda has been created.
 
(3) Next, we've tried to manipulate the gcov internals by putting a
    debugging printf to the fuctions gcov_init and gcov_flush, but
    it seems, that the code of these functions isn't entered.
 
What do we do wrong ? 

thanks you,

Franz Kaufleitner

[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