Changeset c553ccd in rtems-tools


Ignore:
Timestamp:
Jan 25, 2019, 3:40:29 PM (5 months ago)
Author:
Jiri Gaisler <jiri@…>
Branches:
master
Children:
551ce08
Parents:
dd6a10d
Message:

covoar: wrong symbol length in coverage map

Location:
tester/covoar
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tester/covoar/ExecutableInfo.cc

    rdd6a10d rc553ccd  
    4848          if (func.has_machine_code() && (!func.is_inlined() || func.is_external())) {
    4949            createCoverageMap (cu.name(), func.name(),
    50                                func.pc_low(), func.pc_high());
     50                               func.pc_low(), func.pc_high() - 1);
    5151          }
    5252        }
  • tester/covoar/ObjdumpProcessor.cc

    rdd6a10d rc553ccd  
    3737    uint32_t lowAddress = coverageMap.getFirstLowAddress();
    3838    uint32_t size = coverageMap.getSize();
    39     uint32_t highAddress = lowAddress + size;
     39    uint32_t highAddress = lowAddress + size - 1;
    4040
    4141    // If there are NOT already saved instructions, save them.
Note: See TracChangeset for help on using the changeset viewer.