<!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-10)</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>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-05-10 Joel Sherrill <joel.sherrilL@OARcorp.com>
* TargetBase.cc: Really a warning since returns false.
</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.208&r2=text&tr2=1.209&diff_format=h">M</a></td><td width='1%'>1.209</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/TargetBase.cc.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>rtems-coverage/TargetBase.cc</td></tr>
</table>
<pre>
<font color='#006600'>diff -u gcc-testing/rtems-coverage/ChangeLog:1.208 gcc-testing/rtems-coverage/ChangeLog:1.209
--- gcc-testing/rtems-coverage/ChangeLog:1.208 Sun May 9 11:03:36 2010
+++ gcc-testing/rtems-coverage/ChangeLog Mon May 10 09:07:35 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-05-10 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+ * TargetBase.cc: Really a warning since returns false.
+
</font> 2010-05-09 Joel Sherrill <joel.sherrilL@OARcorp.com>
* TargetBase.cc: Not a fatal error to not find instruction.
<font color='#006600'>diff -u gcc-testing/rtems-coverage/TargetBase.cc:1.3 gcc-testing/rtems-coverage/TargetBase.cc:1.4
--- gcc-testing/rtems-coverage/TargetBase.cc:1.3 Sun May 9 11:03:36 2010
+++ gcc-testing/rtems-coverage/TargetBase.cc Mon May 10 09:07:35 2010
</font><font color='#997700'>@@ -51,7 +51,9 @@
</font> const char* const line
)
{
<font color='#880000'>- #define METHOD "ERROR: TargetBase::isBranchLine - "
</font><font color='#000088'>+ #define WARNING \
+ "WARNING: TargetBase::isBranchLine - (%d) " \
+ "Unable to find instruction in: %s\n"
</font> const char *ch;
char instruction[120];
int result;
<font color='#997700'>@@ -64,11 +66,7 @@
</font> ch++;
}
if (*ch != '\t') {
<font color='#880000'>- fprintf(<span style="background-color: #FF0000"> </span>
- stderr,
- METHOD "(1) Unable to find instruction in: %s\n",
- line
- );
</font><font color='#000088'>+ fprintf( stderr, WARNING, 1, line );
</font> return false;
}
ch++;
<font color='#997700'>@@ -77,11 +75,7 @@
</font> while ((*ch != '\t') && (*ch != '\0'))<span style="background-color: #FF0000"> </span>
ch++;
if (*ch != '\t') {
<font color='#880000'>- fprintf(<span style="background-color: #FF0000"> </span>
- stderr,
- METHOD "(2) Unable to find instruction in %s\n",<span style="background-color: #FF0000"> </span>
- line
- );
</font><font color='#000088'>+ fprintf( stderr, WARNING, 2, line) ;
</font> return false;
}
ch++;
<font color='#997700'>@@ -90,11 +84,7 @@
</font> // after the second tab.
result = sscanf( ch, "%s", instruction );
if (result != 1) {
<font color='#880000'>- fprintf(
- stderr,
- METHOD "(3) Unable to find instruction in %s\n",
- line<span style="background-color: #FF0000"> </span>
- );
</font><font color='#000088'>+ fprintf( stderr, WARNING, 3, line );
</font> return false;
}
</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>