X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f2df13795e01302813a6aef10825ec7e922ce530..4fd2f97dd395fdec3a097054bb19ab70e7e99380:/testsuite/mc/dwarf.c diff --git a/testsuite/mc/dwarf.c b/testsuite/mc/dwarf.c index fc85de4c11..c935a1205c 100644 --- a/testsuite/mc/dwarf.c +++ b/testsuite/mc/dwarf.c @@ -68,8 +68,8 @@ static void test_local_variable(mc_object_info_t info, const char* function, con dw_variable_t var = find_local_variable(subprogram, variable); assert(var); - void* frame_base = mc_find_frame_base(subprogram, cursor); - xbt_assert((void*)mc_dwarf_resolve_locations(&var->locations, cursor, frame_base, NULL) == address, + void* frame_base = mc_find_frame_base(subprogram, info, cursor); + xbt_assert((void*)mc_dwarf_resolve_locations(&var->locations, info, cursor, frame_base, NULL) == address, "Bad resolution of local variable %s of %s", variable, function); }