Hi all, we're still having trouble with coverage analysis when using arm-elf-gcc. We fixed the problem with the ctor functions. Than we tried to analyse a simple program. In a first try we used gcc and all worked fine. Then we recomplied the program, using arm-elf-gcc. But this time we had little success. Has somebody an idea what the problem could be? Thanks a lot & Grüße Wolfgang Haidinger ======================================== /* file Foo.cpp */ #include <iostream> struct Foo { Foo () {printf("ctoring\n");} ~Foo () {printf ("dtoring\n");}}; Foo object; int main(int argc, char *argv[]) { if( argc == 1 ) { printf("no options used!\n"); } return 0; } /* EOF Foo.cpp */ gcc version: Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/specs Configured with: /gcc/gcc-3.3.3-3/configure --verbose \ --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc \ --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man \ --infodir=/usr/share/info \ --enable-languages=c,ada,c++,d,f77,java,objc,pascal --enable-nls \ --without-included-gettext --enable-libgcj --with-system-zlib \ --enable-interpreter --enable-threads=posix \ --enable-java-gc=boehm --enable-sjlj-exceptions \ --disable-version-specific-runtime-libs --disable-win32-registry Thread model: posix gcc version 3.3.3 (cygwin special) compile: gcc -c -fprofile-arcs -ftest-coverage -oFoo.o Foo.cpp gcc -oFoo.elf Foo.o -lstdc++ files: Foo.bb Foo.bbg Foo.elf Foo.o execute: ./Foo.elf stdout: ctoring no options used! dtoring files: Foo.da coverage analysis: gcov Foo.cpp files: Foo.cpp.gcov -------------------- arm-elf-gcc version: Reading specs from /usr/local/lib/gcc/arm-elf/3.4.3/specs Configured with: ../gcc-3.4.3/configure --target=arm-elf \ --with-float=soft --with-newlib \ --with-headers=../newlib-1.13.0/newlib/libc/include \ --enable-newlib-io-long-long -enable-languages=c,c++ \ --enable-target-optspace --enable-interwork --enable-multilib \ --disable-newlib-multithread Thread model: single gcc version 3.4.3 compile: arm-elf-gcc -c -fprofile-arcs -ftest-coverage -oFoo.o Foo.cpp arm-elf-gcc -oFoo.elf Foo.o -lstdc++ -lgcov files: Foo.elf Foo.gcno Foo.o execute: arm-elf-run --swi-support=ALL Foo.elf stdout: ctoring no options used! dtoring files: --- (no files created)