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
convert S4U to my current coding convention
[simgrid.git]
/
src
/
mc
/
mc_unw.cpp
diff --git
a/src/mc/mc_unw.cpp
b/src/mc/mc_unw.cpp
index
c537850
..
bb6053a
100644
(file)
--- a/
src/mc/mc_unw.cpp
+++ b/
src/mc/mc_unw.cpp
@@
-18,10
+18,10
@@
#include <libunwind.h>
#include <libunwind.h>
-#include "mc_object_info.h"
-#include "mc/Process.hpp"
-#include "mc_unw.h"
-#include "mc/Frame.hpp"
+#include "
src/mc/
mc_object_info.h"
+#include "
src/
mc/Process.hpp"
+#include "
src/mc/
mc_unw.h"
+#include "
src/
mc/Frame.hpp"
using simgrid::mc::remote;
using simgrid::mc::remote;
@@
-168,7
+168,7
@@
static int get_proc_name(unw_addr_space_t as,
simgrid::mc::Frame* frame = context->process->find_function(remote(addr));
if (!frame)
return - UNW_ENOINFO;
simgrid::mc::Frame* frame = context->process->find_function(remote(addr));
if (!frame)
return - UNW_ENOINFO;
- *offp = (unw_word_t) frame->
low_pc
- addr;
+ *offp = (unw_word_t) frame->
range.begin()
- addr;
strncpy(bufp, frame->name.c_str(), buf_len);
if (bufp[buf_len - 1]) {
strncpy(bufp, frame->name.c_str(), buf_len);
if (bufp[buf_len - 1]) {