change log for rtems-testing (2011-01-24)
rtems-vc at rtems.org
rtems-vc at rtems.org
Mon Jan 24 21:10:02 UTC 2011
*joel*:
2011-01-24 Joel Sherrill <joel.sherrill at oarcorp.com>
* CoverageReaderQEMU.cc: Add debug for trace block having a bad address
range.
M 1.16 covoar/ChangeLog
M 1.2 covoar/CoverageReaderQEMU.cc
diff -u rtems-testing/covoar/ChangeLog:1.15 rtems-testing/covoar/ChangeLog:1.16
--- rtems-testing/covoar/ChangeLog:1.15 Mon Jan 17 16:19:16 2011
+++ rtems-testing/covoar/ChangeLog Mon Jan 24 14:29:23 2011
@@ -1,3 +1,8 @@
+2011-01-24 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * CoverageReaderQEMU.cc: Add debug for trace block having a bad address
+ range.
+
2011-01-17 Joel Sherrill <joel.sherrilL at OARcorp.com>
* CoverageMapBase.cc, CoverageMapBase.h, DesiredSymbols.cc: Improve NOP
diff -u rtems-testing/covoar/CoverageReaderQEMU.cc:1.1 rtems-testing/covoar/CoverageReaderQEMU.cc:1.2
--- rtems-testing/covoar/CoverageReaderQEMU.cc:1.1 Mon May 24 15:07:07 2010
+++ rtems-testing/covoar/CoverageReaderQEMU.cc Mon Jan 24 14:29:23 2011
@@ -139,9 +139,17 @@
}
}
- // Determine if additional branch information is available.
+ // Determine if additional branch information is available.
if ( (entry->op & branchInfo) != 0 ) {
unsigned int a = entry->pc + entry->size - 1;
+if ( (entry->pc < aCoverageMap->getLowAddress()) ||
+ (entry->pc > aCoverageMap->getHighAddress()) )
+ fprintf( stderr, "*** entry PC of trace block is too low\n" );
+
+if ( (a < aCoverageMap->getLowAddress()) ||
+ (a > aCoverageMap->getHighAddress()) )
+ fprintf( stderr, "*** last byte of trace block is too high\n" );
+
while (!aCoverageMap->isStartOfInstruction(a))
a--;
if (entry->op & taken) {
--
Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20110124/4232dbd0/attachment-0001.html>
More information about the vc
mailing list