}
tok = strtok(lfields[0], "-");
start_addr1 = (void *)strtoul(tok, NULL, 16);
- if(lfields[1][1] == 'w' && lfields[5] == NULL){
+ if(lfields[1][1] == 'w'){
if(start_addr1 == std_heap){ /* Std_heap ? */
tok = strtok(NULL, "-");
end_addr = (void *)strtoul(tok, NULL, 16);
}
+/** @brief Find the range of the different memory segments and binary paths */
void MC_init_memory_map_info(){
unsigned int i = 0;
int i, plt_found = 0;
unsigned long int size, offset;
- char *command = bprintf("objdump --section-headers %s", libsimgrid_path);
+ char *command = bprintf("LANG=C objdump --section-headers %s", libsimgrid_path);
fp = popen(command, "r");
int i, plt_found = 0;
unsigned long int size;
- char *command = bprintf( "objdump --section-headers %s", xbt_binary_name);
+ char *command = bprintf("LANG=C objdump --section-headers %s", xbt_binary_name);
fp = popen(command, "r");
stop = 1;
if((long)ip > (long)start_text_libsimgrid)
- frame = xbt_dict_get_or_null(mc_local_variables_libsimgrid, frame_name);
+ frame = xbt_dict_get_or_null(mc_libsimgrid_info->local_variables, frame_name);
else
- frame = xbt_dict_get_or_null(mc_local_variables_binary, frame_name);
+ frame = xbt_dict_get_or_null(mc_binary_info->local_variables, frame_name);
if(frame == NULL){
ret = unw_step(&c);