Changeset 6de122e in rtems-testing


Ignore:
Timestamp:
Sep 12, 2012, 5:09:57 PM (7 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
5c981b2
Parents:
78a76a6
Message:

DesiredSymbols?.cc::computeUncovered: Ensure all bytes in a NOP are marked as executed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • covoar/DesiredSymbols.cc

    r78a76a6 r6de122e  
    239239
    240240        if (theCoverageMap->isNop( ha ))
    241           theCoverageMap->setWasExecuted( ha );
     241          do {
     242            theCoverageMap->setWasExecuted( ha );
     243            ha++;
     244            if ( ha >= endAddress )
     245              break;
     246          } while ( !theCoverageMap->isStartOfInstruction( ha ) );
    242247        a = ha;
    243248      }
Note: See TracChangeset for help on using the changeset viewer.