Changeset 25879a4 in rtems-testing


Ignore:
Timestamp:
Apr 22, 2010, 7:26:03 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
0dba6bf
Parents:
2d3f868
Message:

2010-04-22 Joel Sherrill <joel.sherrill@…>

Location:
rtems-coverage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • rtems-coverage/ChangeLog

    r2d3f868 r25879a4  
     12010-04-22      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * TraceConverter.cc: Add argument for output trace file.
     4
    152010-04-22      Joel Sherrill <joel.sherrill@oarcorp.com>
    26
  • rtems-coverage/TraceConverter.cc

    r2d3f868 r25879a4  
    4444  const char                  *cpuname = NULL;
    4545  const char                  *executable = NULL;
     46  const char                  *tracefile = NULL;
    4647  const char                  *logname = "/tmp/qemu.log";
    4748   
     
    5657      case 'e': executable = optarg; break;
    5758      case 'l': logname = optarg;    break;
     59      case 't': tracefile = optarg;  break;
    5860      case 'v': Verbose = true;      break;
    5961      default:  usage();
     
    7274  }
    7375
     76  if ( !tracefile ) {
     77    fprintf( stderr, "output trace file not specified\n" );
     78    usage();
     79  }
     80
    7481  // Create toolnames.
    7582  Tools = new Coverage::Toolnames( cpuname );
Note: See TracChangeset for help on using the changeset viewer.