change log for gcc-testing (2010-05-12)

rtems-vc at rtems.org rtems-vc at rtems.org
Wed May 12 16:10:02 UTC 2010


 *humph*:
2010-05-12	Glenn Humphrey

	* ObjdumpProcessor.cc: Simplified the finalizeSymbol function.

M  1.230  rtems-coverage/ChangeLog
M   1.33  rtems-coverage/ObjdumpProcessor.cc

diff -u gcc-testing/rtems-coverage/ChangeLog:1.229 gcc-testing/rtems-coverage/ChangeLog:1.230
--- gcc-testing/rtems-coverage/ChangeLog:1.229	Wed May 12 09:12:35 2010
+++ gcc-testing/rtems-coverage/ChangeLog	Wed May 12 10:46:10 2010
@@ -1,3 +1,7 @@
+2010-05-12	Glenn Humphrey
+
+	* ObjdumpProcessor.cc: Simplified the finalizeSymbol function.
+
 2010-05-12	Joel Sherrill <joel.sherrilL at OARcorp.com>
 
 	* ReportsHtml.cc: Not referenced explanation now in file.

diff -u gcc-testing/rtems-coverage/ObjdumpProcessor.cc:1.32 gcc-testing/rtems-coverage/ObjdumpProcessor.cc:1.33
--- gcc-testing/rtems-coverage/ObjdumpProcessor.cc:1.32	Tue May 11 16:08:58 2010
+++ gcc-testing/rtems-coverage/ObjdumpProcessor.cc	Wed May 12 10:46:10 2010
@@ -31,14 +31,14 @@
     std::string&                     symbolName,
     uint32_t                         lowAddress,
     uint32_t                         highAddress,
-    ObjdumpProcessor::objdumpLines_t instructions,
-    SymbolInformation*               symbolInfo
+    ObjdumpProcessor::objdumpLines_t instructions
   ) {
 
     CoverageMapBase*                                   aCoverageMap = NULL;
     uint32_t                                           endAddress = highAddress;
     ObjdumpProcessor::objdumpLines_t::iterator         itr, fnop, lnop;
     ObjdumpProcessor::objdumpLines_t::reverse_iterator ritr;
+    SymbolInformation*                                 symbolInfo = NULL;
     SymbolTable*                                       theSymbolTable;
 
     //
@@ -82,6 +82,7 @@
     }
 
     // If there are NOT already saved instructions, save them.
+    symbolInfo = SymbolsToAnalyze->find( symbolName );
     if (symbolInfo->instructions.empty()) {
       symbolInfo->sourceFile = executableInfo->getFileName();
       symbolInfo->baseAddress = lowAddress;
@@ -281,7 +282,6 @@
     FILE*              objdumpFile;
     bool               processSymbol = false;
     char               symbol[ 100 ];
-    SymbolInformation* symbolInformation = NULL;
     char               terminator1;
     char               terminator2;
     objdumpLines_t     theInstructions;
@@ -297,14 +297,13 @@
       if (cStatus == NULL) {
 
         // If we are currently processing a symbol, finalize it.
-        if ((processSymbol) && (symbolInformation)) {
+        if (processSymbol) {
           finalizeSymbol(
             executableInformation,
             currentSymbol,
             baseAddress,
             address,  // XXX fix to determine correct end address
-            theInstructions,
-            symbolInformation
+            theInstructions
           );
           fprintf(
             stderr,
@@ -339,14 +338,13 @@
       if ((items == 3) && (terminator1 == ':')) {
 
         // If we are currently processing a symbol, finalize it.
-        if ((processSymbol) && (symbolInformation)) {
+        if (processSymbol) {
           finalizeSymbol(
             executableInformation,
             currentSymbol,
             baseAddress,
             address - 1,
-            theInstructions,
-            symbolInformation
+            theInstructions
           );
         }
 
@@ -357,9 +355,7 @@
         theInstructions.clear();
 
         // See if the new symbol is one that we care about.
-        symbolInformation = SymbolsToAnalyze->find( symbol );
-
-        if (symbolInformation) {
+        if (SymbolsToAnalyze->isDesired( symbol )) {
           baseAddress = address;
           currentSymbol = symbol;
           processSymbol = true;


 *humph*:
2010-05-12	Glenn Humphrey

	* covoar_flow.doc: New file.

M  1.231  rtems-coverage/ChangeLog
A    1.1  rtems-coverage/covoar_flow.doc

diff -u gcc-testing/rtems-coverage/ChangeLog:1.230 gcc-testing/rtems-coverage/ChangeLog:1.231
--- gcc-testing/rtems-coverage/ChangeLog:1.230	Wed May 12 10:46:10 2010
+++ gcc-testing/rtems-coverage/ChangeLog	Wed May 12 10:47:13 2010
@@ -1,5 +1,9 @@
 2010-05-12	Glenn Humphrey
 
+	* covoar_flow.doc: New file.
+
+2010-05-12	Glenn Humphrey
+
 	* ObjdumpProcessor.cc: Simplified the finalizeSymbol function.
 
 2010-05-12	Joel Sherrill <joel.sherrilL at OARcorp.com>

*** DIFF FAILED:  ***


--

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/20100512/a41c11b6/attachment-0001.html>


More information about the vc mailing list