A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[mc] Do not use mc_{global_variables,local_variables,variables_type}_{libsimgrid...
[simgrid.git]
/
src
/
mc
/
mc_checkpoint.c
diff --git
a/src/mc/mc_checkpoint.c
b/src/mc/mc_checkpoint.c
index
42c23fd
..
42e9509
100644
(file)
--- a/
src/mc/mc_checkpoint.c
+++ b/
src/mc/mc_checkpoint.c
@@
-206,6
+206,7
@@
static void MC_get_memory_regions(mc_snapshot_t snapshot){
}
}
+/** @brief Find the range of the different memory segments and binary paths */
void MC_init_memory_map_info(){
unsigned int i = 0;
void MC_init_memory_map_info(){
unsigned int i = 0;
@@
-264,7
+265,7
@@
void MC_get_libsimgrid_plt_section(){
int i, plt_found = 0;
unsigned long int size, offset;
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");
fp = popen(command, "r");
@@
-329,7
+330,7
@@
void MC_get_binary_plt_section(){
int i, plt_found = 0;
unsigned long int size;
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");
fp = popen(command, "r");
@@
-517,9
+518,9
@@
static xbt_dynar_t MC_get_local_variables_values(void *stack_context){
stop = 1;
if((long)ip > (long)start_text_libsimgrid)
stop = 1;
if((long)ip > (long)start_text_libsimgrid)
- frame = xbt_dict_get_or_null(mc_l
ocal_variables_libsimgrid
, frame_name);
+ frame = xbt_dict_get_or_null(mc_l
ibsimgrid_info->local_variables
, frame_name);
else
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);
if(frame == NULL){
ret = unw_step(&c);