Changeset ef03027 in rtems-testing


Ignore:
Timestamp:
Jan 24, 2011, 8:29:23 PM (8 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
851f8cf
Parents:
2f93d77
Message:

2011-01-24 Joel Sherrill <joel.sherrill@…>

  • CoverageReaderQEMU.cc: Add debug for trace block having a bad address range.
Location:
covoar
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • covoar/ChangeLog

    r2f93d77 ref03027  
     12011-01-24      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * CoverageReaderQEMU.cc: Add debug for trace block having a bad address
     4        range.
     5
    162011-01-17      Joel Sherrill <joel.sherrilL@OARcorp.com>
    27
  • covoar/CoverageReaderQEMU.cc

    r2f93d77 ref03027  
    140140        }
    141141
    142         // Determine if additional branch information is available.
     142       // Determine if additional branch information is available.
    143143       if ( (entry->op & branchInfo) != 0 ) {
    144144          unsigned int a = entry->pc + entry->size - 1;
     145if ( (entry->pc < aCoverageMap->getLowAddress()) ||
     146     (entry->pc > aCoverageMap->getHighAddress()) )
     147  fprintf( stderr, "*** entry PC of trace block is too low\n" );
     148
     149if ( (a < aCoverageMap->getLowAddress()) ||
     150     (a > aCoverageMap->getHighAddress()) )
     151  fprintf( stderr, "*** last byte of trace block is too high\n" );
     152
    145153          while (!aCoverageMap->isStartOfInstruction(a))
    146154            a--;
Note: See TracChangeset for help on using the changeset viewer.