summaryrefslogtreecommitdiffstats
path: root/tester/covoar/ExecutableInfo.cc
diff options
context:
space:
mode:
authorJiri Gaisler <jiri@gaisler.se>2019-01-25 16:40:29 +0100
committerJiri Gaisler <jiri@gaisler.se>2019-01-25 16:40:29 +0100
commitc553ccdd1edd6124a6643bb8e829d98fd636ef6e (patch)
tree12fdfe48d93209f45b2ea8f0ec674b2e721ad885 /tester/covoar/ExecutableInfo.cc
parentcovoar: enable -f switch to select other coverage formats (diff)
downloadrtems-tools-c553ccdd1edd6124a6643bb8e829d98fd636ef6e.tar.bz2
covoar: wrong symbol length in coverage map
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 d93860b..c593e1d 100644
--- a/tester/covoar/ExecutableInfo.cc
+++ b/tester/covoar/ExecutableInfo.cc
@@ -47,7 +47,7 @@ namespace Coverage {
for (auto& func : cu.get_functions()) {
if (func.has_machine_code() && (!func.is_inlined() || func.is_external())) {
createCoverageMap (cu.name(), func.name(),
- func.pc_low(), func.pc_high());
+ func.pc_low(), func.pc_high() - 1);
}
}
}