Previously, and for older compilers, if you launched a code coverage-enabled build process and chose to disable code coverage in the launch configuration, the process wrote the coverage information to a data file (.gcda) at run time, rather than read it from the process's data space. This meant that you could choose to import this data into the IDE Code Coverage tool at a later time. The newer gcc compiler doesn't stream the data coverage; the IDE waits for the generation of the data file before it copies it back to host machine.
In addition, the IDE generates notes files (.gcno) when it compiles projects that have enabled code coverage.
There are multiple ways to import a file.
It isn't necessary to move the file you want to import into the Workspace location.
By default, the .gcda files for gcc are located in a folder structure created under /tmp.
When copying a project_name.gcda file into your workspace, you must copy it to the top level of the directory structure. In this case, it is the variant_name/o_g directory.
By default, you won't have the Target File System Navigator tab in your Tasks view. To add this tab to your view:
For a QNX project, if a project is built using gcc version 4.4, the files are created under the variant_name/o_g directory.
The project_name.gcda will be visible under the C/C++ tab for the corresponding project.