Ignore:
Timestamp:
Jul 15, 2009, 10:41:01 AM (15 years ago)
Author:
rosiere
Message:

1) valgrind fix
2) debug file on/off

File:
1 edited

Legend:

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

    r122 r134  
    142142   *eoffset       = ringo.ladr;
    143143   ringo.mem      = malloc(*esize * sizeof(char));
     144
     145   memset((void *)ringo.mem,0,*esize * sizeof(char));
     146   
    144147   /* Start over again from the start of the memory */
    145148   bfd_map_over_sections(exec, bindsection, &ringo);
Note: See TracChangeset for help on using the changeset viewer.