Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mv] Remove global {start,end}_{plt,got}_{libsimgrid,binary}
authorGabriel Corona <gabriel.corona@loria.fr>
Thu, 2 Jan 2014 13:57:46 +0000 (14:57 +0100)
committerGabriel Corona <gabriel.corona@loria.fr>
Thu, 9 Jan 2014 13:23:35 +0000 (14:23 +0100)
src/mc/mc_checkpoint.c
src/mc/mc_global.c
src/mc/mc_private.h

index 56209f5..6b120af 100644 (file)
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_checkpoint, mc,
                                 "Logging specific to mc_checkpoint");
 
-void *start_text_libsimgrid;
-void *start_plt_libsimgrid, *end_plt_libsimgrid;
-void *start_got_plt_libsimgrid, *end_got_plt_libsimgrid;
-void *start_plt_binary, *end_plt_binary;
-void *start_got_plt_binary, *end_got_plt_binary;
 char *libsimgrid_path;
 
 static void MC_get_plt_section(mc_object_info_t info);
index 8a6b046..ea39360 100644 (file)
@@ -1758,17 +1758,6 @@ static void MC_init_debug_info() {
 
   MC_free_memory_map(maps);
 
-  /* Get .plt section (start and end addresses) for data libsimgrid and data program comparison */
-  start_plt_libsimgrid = mc_libsimgrid_info->start_plt;
-  end_plt_libsimgrid = mc_libsimgrid_info->end_plt;
-  start_plt_binary = mc_binary_info->start_plt;
-  end_plt_binary = mc_binary_info->end_plt;
-  start_got_plt_libsimgrid = mc_libsimgrid_info->start_got_plt;
-  end_got_plt_libsimgrid = mc_libsimgrid_info->end_got_plt;
-  start_got_plt_binary = mc_binary_info->start_got_plt;
-  end_got_plt_binary = mc_binary_info->end_got_plt;
-
-
   XBT_INFO("Get debug information done !");
 }
 
index 7b04bee..10abd85 100644 (file)
@@ -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 **********************************/