A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mark deprecated functions.
[simgrid.git]
/
src
/
mc
/
mc_unw_vmread.cpp
diff --git
a/src/mc/mc_unw_vmread.cpp
b/src/mc/mc_unw_vmread.cpp
index
f9115be
..
2982902
100644
(file)
--- a/
src/mc/mc_unw_vmread.cpp
+++ b/
src/mc/mc_unw_vmread.cpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2015. The SimGrid Team.
+/* Copyright (c) 2015
-2018
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-11,7
+11,7
@@
#include <libunwind.h>
#include <libunwind-ptrace.h>
#include <libunwind.h>
#include <libunwind-ptrace.h>
-#include "src/mc/mc_unw.h"
+#include "src/mc/mc_unw.h
pp
"
#include "src/mc/remote/RemoteClient.hpp"
/** \file
#include "src/mc/remote/RemoteClient.hpp"
/** \file
@@
-28,7
+28,7
@@
*/
struct _UPT_info {
pid_t pid;
*/
struct _UPT_info {
pid_t pid;
- // Other things
;
+ // Other things
...
};
/** Get the PID of a `libunwind-ptrace` context
};
/** Get the PID of a `libunwind-ptrace` context
@@
-36,7
+36,7
@@
struct _UPT_info {
static inline
pid_t _UPT_getpid(void* arg)
{
static inline
pid_t _UPT_getpid(void* arg)
{
-
struct _UPT_info* info = (_UPT_info*) arg
;
+
_UPT_info* info = static_cast<_UPT_info*>(arg)
;
return info->pid;
}
return info->pid;
}