<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for gcc-testing (2010-05-12)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>humph</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-05-12 Glenn Humphrey

        * ObjdumpProcessor.cc: Simplified the finalizeSymbol function.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//gcc-testing/rtems-coverage/ChangeLog.diff?r1=text&tr1=1.229&r2=text&tr2=1.230&diff_format=h">M</a></td><td width='1%'>1.230</td><td width='100%'>rtems-coverage/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//gcc-testing/rtems-coverage/ObjdumpProcessor.cc.diff?r1=text&tr1=1.32&r2=text&tr2=1.33&diff_format=h">M</a></td><td width='1%'>1.33</td><td width='100%'>rtems-coverage/ObjdumpProcessor.cc</td></tr>
</table>
<pre>
<font color='#006600'>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
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-05-12    Glenn Humphrey
+
+       * ObjdumpProcessor.cc: Simplified the finalizeSymbol function.
+
</font> 2010-05-12        Joel Sherrill <joel.sherrilL@OARcorp.com>
 
        * ReportsHtml.cc: Not referenced explanation now in file.

<font color='#006600'>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
</font><font color='#997700'>@@ -31,14 +31,14 @@
</font>     std::string&                     symbolName,
     uint32_t                         lowAddress,
     uint32_t                         highAddress,
<font color='#880000'>-    ObjdumpProcessor::objdumpLines_t instructions,
-    SymbolInformation*               symbolInfo
</font><font color='#000088'>+    ObjdumpProcessor::objdumpLines_t instructions
</font>   ) {
 
     CoverageMapBase*                                   aCoverageMap = NULL;
     uint32_t                                           endAddress = highAddress;
     ObjdumpProcessor::objdumpLines_t::iterator         itr, fnop, lnop;
     ObjdumpProcessor::objdumpLines_t::reverse_iterator ritr;
<font color='#000088'>+    SymbolInformation*                                 symbolInfo = NULL;
</font>     SymbolTable*                                       theSymbolTable;
 
     //
<font color='#997700'>@@ -82,6 +82,7 @@
</font>     }
 
     // If there are NOT already saved instructions, save them.
<font color='#000088'>+    symbolInfo = SymbolsToAnalyze->find( symbolName );
</font>     if (symbolInfo->instructions.empty()) {
       symbolInfo->sourceFile = executableInfo->getFileName();
       symbolInfo->baseAddress = lowAddress;
<font color='#997700'>@@ -281,7 +282,6 @@
</font>     FILE*              objdumpFile;
     bool               processSymbol = false;
     char               symbol[ 100 ];
<font color='#880000'>-    SymbolInformation* symbolInformation = NULL;
</font>     char               terminator1;
     char               terminator2;
     objdumpLines_t     theInstructions;
<font color='#997700'>@@ -297,14 +297,13 @@
</font>       if (cStatus == NULL) {
 
         // If we are currently processing a symbol, finalize it.
<font color='#880000'>-        if ((processSymbol) && (symbolInformation)) {
</font><font color='#000088'>+        if (processSymbol) {
</font>           finalizeSymbol(
             executableInformation,
             currentSymbol,
             baseAddress,
             address,  // XXX fix to determine correct end address
<font color='#880000'>-            theInstructions,
-            symbolInformation
</font><font color='#000088'>+            theInstructions
</font>           );
           fprintf(
             stderr,
<font color='#997700'>@@ -339,14 +338,13 @@
</font>       if ((items == 3) && (terminator1 == ':')) {
 
         // If we are currently processing a symbol, finalize it.
<font color='#880000'>-        if ((processSymbol) && (symbolInformation)) {
</font><font color='#000088'>+        if (processSymbol) {
</font>           finalizeSymbol(
             executableInformation,
             currentSymbol,
             baseAddress,
             address - 1,
<font color='#880000'>-            theInstructions,
-            symbolInformation
</font><font color='#000088'>+            theInstructions
</font>           );
         }
 
<font color='#997700'>@@ -357,9 +355,7 @@
</font>         theInstructions.clear();
 
         // See if the new symbol is one that we care about.
<font color='#880000'>-        symbolInformation = SymbolsToAnalyze->find( symbol );
-
-        if (symbolInformation) {
</font><font color='#000088'>+        if (SymbolsToAnalyze->isDesired( symbol )) {
</font>           baseAddress = address;
           currentSymbol = symbol;
           processSymbol = true;
</pre>
<p> </p>
<a name='cs2'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>humph</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-05-12 Glenn Humphrey

        * covoar_flow.doc: New file.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//gcc-testing/rtems-coverage/ChangeLog.diff?r1=text&tr1=1.230&r2=text&tr2=1.231&diff_format=h">M</a></td><td width='1%'>1.231</td><td width='100%'>rtems-coverage/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//gcc-testing/rtems-coverage/covoar_flow.doc?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">rtems-coverage/covoar_flow.doc</font></td></tr>
</table>
<pre>
<font color='#006600'>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
</font><font color='#997700'>@@ -1,5 +1,9 @@
</font> 2010-05-12        Glenn Humphrey
 
<font color='#000088'>+   * covoar_flow.doc: New file.
+
+2010-05-12     Glenn Humphrey
+
</font>   * ObjdumpProcessor.cc: Simplified the finalizeSymbol function.
 
 2010-05-12     Joel Sherrill <joel.sherrilL@OARcorp.com>

<font color='#FF0000'>*** DIFF FAILED:  ***
</font></pre>
<p> </p>

<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>