X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1113792240aa3e88b1a2ba75474f338ad8db2ca2..910500315ef51a0f48ca6f6b70b335b986d4e17b:/src/mc/mc_dwarf.c diff --git a/src/mc/mc_dwarf.c b/src/mc/mc_dwarf.c index b9cf927cb3..a286459ea8 100644 --- a/src/mc/mc_dwarf.c +++ b/src/mc/mc_dwarf.c @@ -1024,7 +1024,7 @@ void MC_dwarf_get_variables(mc_object_info_t info) } Dwarf *dwarf = dwarf_begin(fd, DWARF_C_READ); if (dwarf == NULL) { - xbt_die("Your program must be compiled with -g"); + xbt_die("Your program must be compiled with -g (%s)", info->file_name); } // For each compilation unit: Dwarf_Off offset = 0; @@ -1268,7 +1268,7 @@ static void MC_post_process_types(mc_object_info_t info) } /** \brief Finds informations about a given shared object/executable */ -mc_object_info_t MC_find_object_info(memory_map_t maps, char *name, +mc_object_info_t MC_find_object_info(memory_map_t maps, const char *name, int executable) { mc_object_info_t result = MC_new_object_info();