|Gcov: selecting binary [message #1733826]
||Wed, 01 June 2016 09:09
| Vlad Dumitrescu
Registered: July 2009
When opening a gcda file, one gets to choose a binary file. One can choose the final elf, or a *.o file. However, when the annotation manager looks for the binary, it only selects from cProject.getBinaryContainer().getBinaries(), which doesn't contain the *.o files. [GCovAnnotationModel.java:243]
Since the binary file is already validated (in the dialog), it should be possible to just use the provided target without checking if it's part of the binary container. It works for me, at least. Are there any reasons for restricting the binary? The result is that for some binaries, there are no annotations shown in the editor.
BTW, a related issue: in the dialog for locating the binary file, wouldn't it be useful to be able to browse directly the binary container? Some projects have it well hidden in the hierarchy...
Powered by FUDForum
. Page generated in 0.01898 seconds