X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1e1a18a0b8d75deb509860d08b75a27df4e935c8..c9680266ff5262307dd726d248c4e965cacc8e21:/src/mc/mc_unw_vmread.cpp diff --git a/src/mc/mc_unw_vmread.cpp b/src/mc/mc_unw_vmread.cpp index 7082dd3849..148a2f5995 100644 --- a/src/mc/mc_unw_vmread.cpp +++ b/src/mc/mc_unw_vmread.cpp @@ -109,7 +109,7 @@ namespace unw { * does not use ptrace() to read the target process memory by * `process_vm_readv()` or `/dev/${pid}/mem` if possible. * - * Does not support any MC-specific behaviour (privatisation, snapshots) + * Does not support any MC-specific behaviour (privatization, snapshots) * and `ucontext_t`. * * It works with `void*` contexts allocated with `_UPT_create(pid)`. @@ -129,7 +129,7 @@ static unw_accessors_t accessors = { unw_addr_space_t create_addr_space() { - return unw_create_addr_space(&accessors, __BYTE_ORDER); + return unw_create_addr_space(&accessors, BYTE_ORDER); } void* create_context(unw_addr_space_t as, pid_t pid) @@ -138,4 +138,4 @@ void* create_context(unw_addr_space_t as, pid_t pid) } } -} \ No newline at end of file +}