Changeset b9077c6 in rtems-testing


Ignore:
Timestamp:
Apr 24, 2010, 5:26:02 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
2b9fbf4
Parents:
93eecc2
Message:

2010-04-24 Joel Sherrill <joel.sherrilL@…>

  • CoverageReaderQEMU.cc: Fix branch taken/not taken reporting.
Location:
rtems-coverage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • rtems-coverage/ChangeLog

    r93eecc2 rb9077c6  
     12010-04-24      Joel Sherrill <joel.sherrilL@OARcorp.com>
     2
     3        * CoverageReaderQEMU.cc: Fix branch taken/not taken reporting.
     4
    152010-04-24      Joel Sherrill <joel.sherrilL@OARcorp.com>
    26
  • rtems-coverage/CoverageReaderQEMU.cc

    r93eecc2 rb9077c6  
    142142        // Determine if additional branch information is available. */
    143143        if (entry->op & TRACE_OP_TAKEN) {
     144          aCoverageMap->setIsBranch( entry->pc + entry->size - 1);
    144145          aCoverageMap->setWasTaken( entry->pc + entry->size - 1);
    145           #if 0
    146             fprintf( stderr, "0x%08x %d 0x%2x TAKEN\n", entry->pc, entry->size, entry->op );
    147           #endif
    148146        } else if (entry->op & TRACE_OP_NOT_TAKEN) {
     147          aCoverageMap->setIsBranch( entry->pc + entry->size - 1);
    149148          aCoverageMap->setWasNotTaken( entry->pc + entry->size -1 );
    150           #if 0
    151             fprintf( stderr, "0x%08x %d 0x%2x NOT TAKEN\n", entry->pc, entry->size, entry->op );
    152           #endif
    153149        }
    154150      }
Note: See TracChangeset for help on using the changeset viewer.