Changeset a19fec9 in rtems-testing


Ignore:
Timestamp:
May 10, 2010, 2:07:35 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
d7f433a
Parents:
f5a98c2
Message:

2010-05-10 Joel Sherrill <joel.sherrilL@…>

Location:
rtems-coverage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • rtems-coverage/ChangeLog

    rf5a98c2 ra19fec9  
     12010-05-10      Joel Sherrill <joel.sherrilL@OARcorp.com>
     2
     3        * TargetBase.cc: Really a warning since returns false.
     4
    152010-05-09      Joel Sherrill <joel.sherrilL@OARcorp.com>
    26
  • rtems-coverage/TargetBase.cc

    rf5a98c2 ra19fec9  
    5252  )
    5353  {
    54     #define METHOD "ERROR: TargetBase::isBranchLine - "
     54    #define WARNING \
     55        "WARNING: TargetBase::isBranchLine - (%d) " \
     56        "Unable to find instruction in: %s\n"
    5557    const char *ch;
    5658    char instruction[120];
     
    6567    }
    6668    if (*ch != '\t') {
    67       fprintf(
    68         stderr,
    69         METHOD "(1) Unable to find instruction in: %s\n",
    70         line
    71       );
     69      fprintf( stderr, WARNING, 1, line );
    7270      return false;
    7371    }
     
    7876      ch++;
    7977    if (*ch != '\t') {
    80       fprintf(
    81         stderr,
    82         METHOD "(2) Unable to find instruction in %s\n",
    83         line
    84       );
     78      fprintf( stderr, WARNING, 2, line) ;
    8579      return false;
    8680    }
     
    9185    result = sscanf( ch, "%s", instruction );
    9286    if (result != 1) {
    93         fprintf(
    94           stderr,
    95           METHOD "(3) Unable to find instruction in %s\n",
    96           line
    97         );
     87        fprintf( stderr, WARNING, 3, line );
    9888        return false;
    9989    }
Note: See TracChangeset for help on using the changeset viewer.