change log for rtems-testing (2011-01-25)
rtems-vc at rtems.org
rtems-vc at rtems.org
Tue Jan 25 21:10:03 UTC 2011
*joel*:
2011-01-25 Joel Sherrill <joel.sherrill at oarcorp.com>
* ExecutableInfo.cc: Hack a shot at seeing if symbol is already known.
If so, then say it has multiple ranges.
M 1.18 covoar/ChangeLog
M 1.2 covoar/ExecutableInfo.cc
diff -u rtems-testing/covoar/ChangeLog:1.17 rtems-testing/covoar/ChangeLog:1.18
--- rtems-testing/covoar/ChangeLog:1.17 Mon Jan 24 15:11:25 2011
+++ rtems-testing/covoar/ChangeLog Tue Jan 25 14:48:36 2011
@@ -1,3 +1,8 @@
+2011-01-25 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * ExecutableInfo.cc: Hack a shot at seeing if symbol is already known.
+ If so, then say it has multiple ranges.
+
2011-01-24 Joel Sherrill <joel.sherrilL at OARcorp.com>
* CoverageReaderQEMU.cc: Finetune debug.
diff -u rtems-testing/covoar/ExecutableInfo.cc:1.1 rtems-testing/covoar/ExecutableInfo.cc:1.2
--- rtems-testing/covoar/ExecutableInfo.cc:1.1 Mon May 24 15:07:08 2010
+++ rtems-testing/covoar/ExecutableInfo.cc Tue Jan 25 14:48:36 2011
@@ -90,19 +90,15 @@
uint32_t highAddress
)
{
- CoverageMapBase* theMap = NULL;
+ CoverageMapBase* theMap;
- theMap = new CoverageMap( lowAddress, highAddress );
-
- if (!theMap)
- fprintf(
- stderr, "Unable to create coverage map for %s\n",
- symbolName.c_str()
- );
-
- else
+ theMap = coverageMaps.find( symbolName );
+ if ( theMap == std::map.end() ) {
+ theMap = new CoverageMap( lowAddress, highAddress );
coverageMaps[ symbolName ] = theMap;
-
+ } else {
+ theMap->Add( lowAddress, highAddress );
+ }
return theMap;
}
--
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/20110125/e3de0560/attachment.html>
More information about the vc
mailing list