From 26b402e5fd180de40ac1bba6456cc8837be42dc4 Mon Sep 17 00:00:00 2001 From: Marion Guthmuller Date: Mon, 30 Jul 2012 23:08:38 +0200 Subject: [PATCH] model-checker : add debug information about pointers in libsimgrid and remove useless fprintf in get_plt_section --- src/mc/mc_checkpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mc/mc_checkpoint.c b/src/mc/mc_checkpoint.c index 872165a7a8..16c924d1de 100644 --- a/src/mc/mc_checkpoint.c +++ b/src/mc/mc_checkpoint.c @@ -179,6 +179,7 @@ static int data_libsimgrid_region_compare(void *d1, void *d2, size_t size){ continue; }else{ XBT_DEBUG("Different byte (offset=%zu) (%p - %p) in data libsimgrid region", i, (char *)d1 + i, (char *)d2 + i); + XBT_DEBUG("Addresses pointed : %p - %p\n", addr_pointed1, addr_pointed2); distance++; } } @@ -309,7 +310,6 @@ void get_plt_section(){ offset = strtoul(lfields[4], NULL, 16); start_plt = (char *)start_text_libsimgrid + offset; end_plt = (char *)start_plt + size; - fprintf(stderr, ".plt section : %p - %p \n", start_plt, end_plt); plt_not_found = 0; } } -- 2.20.1