X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1b8f849b45ded567cf10c7da022447a775270a0e..c46aba70aa4ccf22cc19fac31d451c7158e922dd:/src/mc/mc_member.cpp diff --git a/src/mc/mc_member.cpp b/src/mc/mc_member.cpp index d7003c411e..8ce5366117 100644 --- a/src/mc/mc_member.cpp +++ b/src/mc/mc_member.cpp @@ -4,11 +4,9 @@ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ -#include - -#include "mc_object_info.h" -#include "mc_private.h" -#include "mc/Type.hpp" +#include "src/mc/mc_private.h" +#include "src/mc/Type.hpp" +#include "src/mc/mc_dwarf.hpp" namespace simgrid { namespace dwarf { @@ -18,7 +16,7 @@ namespace dwarf { * @param object Process address of the struct/class * @param type Type of the struct/class * @param member Member description - * @param snapshot Snapshot (or NULL) + * @param snapshot Snapshot (or nullptr) * @return Process address of the given member of the 'object' struct/class */ void *resolve_member( @@ -30,8 +28,8 @@ void *resolve_member( return ((char *) base) + member->offset(); ExpressionContext state; - state.frame_base = NULL; - state.cursor = NULL; + state.frame_base = nullptr; + state.cursor = nullptr; state.address_space = address_space; state.process_index = process_index;