X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/149c63f36e15b8500b1e826bda5138318ff7ba2b..2dab73b61a6ad4feb7d2d267bf5621c7b95926b3:/teshsuite/mc/dwarf/dwarf.cpp diff --git a/teshsuite/mc/dwarf/dwarf.cpp b/teshsuite/mc/dwarf/dwarf.cpp index 12f90313b3..6602fc9110 100644 --- a/teshsuite/mc/dwarf/dwarf.cpp +++ b/teshsuite/mc/dwarf/dwarf.cpp @@ -15,7 +15,7 @@ #include "src/mc/inspect/ObjectInformation.hpp" #include "src/mc/inspect/Type.hpp" #include "src/mc/inspect/Variable.hpp" -#include "src/mc/remote/RemoteClient.hpp" +#include "src/mc/remote/RemoteSimulation.hpp" #include #include @@ -72,7 +72,7 @@ static void test_local_variable(simgrid::mc::ObjectInformation* info, const char xbt_assert(location.address() == address, "Bad resolution of local variable %s of %s", variable, function); } -static const simgrid::mc::Variable* test_global_variable(const simgrid::mc::RemoteClient& process, +static const simgrid::mc::Variable* test_global_variable(const simgrid::mc::RemoteSimulation& process, const simgrid::mc::ObjectInformation* info, const char* name, void* address, long byte_size) { @@ -104,7 +104,7 @@ struct s_foo { int i; }; -static void test_type_by_name(const simgrid::mc::RemoteClient& process, s_foo /*my_foo*/) +static void test_type_by_name(const simgrid::mc::RemoteSimulation& process, s_foo /*my_foo*/) { assert(process.binary_info->full_types_by_name.find("struct s_foo") != process.binary_info->full_types_by_name.end()); } @@ -116,7 +116,7 @@ int main(int argc, char** argv) const simgrid::mc::Variable* var; simgrid::mc::Type* type; - simgrid::mc::RemoteClient process(getpid(), -1); + simgrid::mc::RemoteSimulation process(getpid()); process.init(); test_global_variable(process, process.binary_info.get(), "some_local_variable", &some_local_variable, sizeof(int));