X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fc5167a345c9569b12237d14937523d733fb041f..97005295f756e87f31b810860bbea4ac8ac25858:/src/mc/mc_private.h diff --git a/src/mc/mc_private.h b/src/mc/mc_private.h index 7b04bee1cd..9d438f7a90 100644 --- a/src/mc/mc_private.h +++ b/src/mc/mc_private.h @@ -220,14 +220,6 @@ memory_map_t MC_get_memory_map(void); void MC_free_memory_map(memory_map_t map); extern char *libsimgrid_path; -extern void *start_plt_libsimgrid; -extern void *end_plt_libsimgrid; -extern void *start_plt_binary; -extern void *end_plt_binary; -extern void *start_got_plt_libsimgrid; -extern void *end_got_plt_libsimgrid; -extern void *start_got_plt_binary; -extern void *end_got_plt_binary; /********************************** Snapshot comparison **********************************/ @@ -333,15 +325,17 @@ typedef struct s_mc_object_info { void* end_plt; void* start_got_plt; void* end_got_plt; - xbt_dict_t local_variables; - xbt_dynar_t global_variables; - xbt_dict_t types; + xbt_dict_t local_variables; // xbt_dict_t + xbt_dynar_t global_variables; // xbt_dynar_t + xbt_dict_t types; // xbt_dict_t } s_mc_object_info_t, *mc_object_info_t; -mc_object_info_t MC_new_object_info(); -mc_object_info_t MC_find_object_address(memory_map_t maps, char* name); +mc_object_info_t MC_new_object_info(void); +mc_object_info_t MC_find_object_info(memory_map_t maps, char* name); void MC_free_object_info(mc_object_info_t* p); +void MC_dwarf_get_variables(mc_object_info_t info); + extern mc_object_info_t mc_libsimgrid_info; extern mc_object_info_t mc_binary_info; @@ -422,9 +416,9 @@ typedef struct s_dw_frame{ void *low_pc; void *high_pc; dw_location_t frame_base; - xbt_dynar_t variables; /* Cannot use dict, there may be several variables with the same name (in different lexical blocks)*/ - unsigned long int start; - unsigned long int end; + xbt_dynar_t /* */ variables; /* Cannot use dict, there may be several variables with the same name (in different lexical blocks)*/ + unsigned long int start; /* DWARF offset of the subprogram */ + unsigned long int end; /* Dwarf offset of the next sibling */ }s_dw_frame_t, *dw_frame_t; /********************************** Miscellaneous **********************************/