summaryrefslogtreecommitdiffstats
path: root/tester/covoar/ExecutableInfo.cc
diff options
context:
space:
mode:
authorAlex White <alex.white@oarcorp.com>2021-02-24 16:53:43 -0600
committerJoel Sherrill <joel@rtems.org>2021-03-30 13:15:58 -0500
commite5c985eba0822b9c1356c85617ea687cfdac379b (patch)
treecc12abe5b8fb9acf3027b10e19d89aaa032be124 /tester/covoar/ExecutableInfo.cc
parenttester: Add coverage variants for a few BSPs (diff)
downloadrtems-tools-e5c985eba0822b9c1356c85617ea687cfdac379b.tar.bz2
covoar: Fix NOP execution marking
Some NOP instructions were not being marked as executed because they are located at the end of uncovered ranges. This has been fixed.
Diffstat (limited to 'tester/covoar/ExecutableInfo.cc')
-rw-r--r--tester/covoar/ExecutableInfo.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tester/covoar/ExecutableInfo.cc b/tester/covoar/ExecutableInfo.cc
index c593e1d..ddd2987 100644
--- a/tester/covoar/ExecutableInfo.cc
+++ b/tester/covoar/ExecutableInfo.cc
@@ -127,7 +127,7 @@ namespace Coverage {
{
CoverageMaps::iterator cmi = coverageMaps.find( symbolName );
if ( cmi == coverageMaps.end() )
- throw rld::error (symbolName, "ExecutableInfo::findCoverageMap");
+ throw CoverageMapNotFoundError(symbolName);
return *(cmi->second);
}