X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/bd1417b0fe9f2957686b0edf42a3b3af07114232..13388755930c20f4c3785153b8952cf30c23183a:/teshsuite/mc/dwarf/dwarf.cpp diff --git a/teshsuite/mc/dwarf/dwarf.cpp b/teshsuite/mc/dwarf/dwarf.cpp index 5c07416324..104294f601 100644 --- a/teshsuite/mc/dwarf/dwarf.cpp +++ b/teshsuite/mc/dwarf/dwarf.cpp @@ -87,7 +87,7 @@ static void test_local_variable(mc_object_info_t info, const char* function, con static dw_variable_t test_global_variable(mc_process_t process, mc_object_info_t info, const char* name, void* address, long byte_size) { - dw_variable_t variable = MC_file_object_info_find_variable_by_name(info, name); + dw_variable_t variable = info->find_variable(name); xbt_assert(variable, "Global variable %s was not found", name); xbt_assert(!strcmp(variable->name, name), "Name mismatch for %s", name); xbt_assert(variable->global, "Variable %s is not global", name);