Ignore:
Timestamp:
May 16, 2009, 4:42:39 PM (15 years ago)
Author:
rosiere
Message:

1) Platforms : add new organization for test
2) Load_Store_Unit : add array to count nb_check in store_queue
3) Issue_queue and Core_Glue : rewrite the issue network
4) Special_Register_Unit : add reset value to register CID
5) Softwares : add multicontext test
6) Softwares : add SPECINT
7) Softwares : add MiBench?
7) Read_queue : inhib access for r0
8) Change Core_Glue (network) - dont yet support priority and load balancing scheme

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/Environment/Data/src/loadexec.c

    r81 r117  
    3333#include <string.h>
    3434#include <bfd.h>
     35#include "../../Common/include/Debug.h"
    3536
    3637#ifndef TRUE
     
    110111
    111112   if (!exec) {
    112       fprintf(stderr, "Cannot open File '%s'\n", file);
     113      cerr("Cannot open File '%s'\n", file);
    113114      exit(1);
    114115   }
    115116
    116117   if (bfd_check_format(exec, bfd_object) != TRUE && !(exec->flags & EXEC_P)) {
    117       fprintf(stderr, "File %s is not an executable file\n",
    118                        file); //bfd_get_filename(exec));
     118      cerr("File %s is not an executable file\n",
     119            file); //bfd_get_filename(exec));
    119120      exit(1);
    120121   }
    121122
    122 #if 1
    123    printf("Loading sections ");
     123#if 0
     124   cout("Loading sections ");
    124125   for (i = 0; sections[i]; i++)
    125       printf("%s%s", sections[i], sections[i+1] ? ", " : " ");
    126    printf("from \"%s\"\n",bfd_get_filename(exec));
    127    //printf("of executable '%s' for '%s' architecture in format '%s'\n",
     126     __cout("%s%s", sections[i], ((sections[i+1]!=NULL)?", ":" "));
     127   __cout("from \"%s\"\n",bfd_get_filename(exec));
     128   //cout("of executable '%s' for '%s' architecture in format '%s'\n",
    128129   //        bfd_get_filename(exec), bfd_printable_name(exec), exec->xvec->name);
    129130#endif
Note: See TracChangeset for help on using the changeset viewer.