X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/78ad8111935dd39520e2cbae135e042817d78583..b3b356352e87ae00a20f737c48e19b0c8413455a:/teshsuite/mc/dwarf_expression/dwarf_expression.cpp diff --git a/teshsuite/mc/dwarf_expression/dwarf_expression.cpp b/teshsuite/mc/dwarf_expression/dwarf_expression.cpp index fc7ab69c7b..32798ad382 100644 --- a/teshsuite/mc/dwarf_expression/dwarf_expression.cpp +++ b/teshsuite/mc/dwarf_expression/dwarf_expression.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2014. The SimGrid Team. +/* Copyright (c) 2014-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -12,10 +12,15 @@ #include #include -#include "../src/mc/mc_private.h" -#include "../src/mc/mc_object_info.h" +#include "mc/mc_process.h" +#include "mc/mc_private.h" +#include "mc/mc_object_info.h" -static mc_process_t process; +#include "mc/Type.hpp" +#include "mc/ObjectInformation.hpp" +#include "mc/Variable.hpp" + +static simgrid::mc::Process* process; static uintptr_t eval_binary_operation(mc_expression_state_t state, int op, uintptr_t a, uintptr_t b) { @@ -119,7 +124,7 @@ int main(int argc, char** argv) { s_mc_expression_state_t state; memset(&state, 0, sizeof(s_mc_expression_state_t)); - state.address_space = (mc_address_space_t) process; + state.address_space = (simgrid::mc::AddressSpace*) process; basic_test(&state);