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
The creation of the pimpl needs no simcall
[simgrid.git]
/
src
/
mc
/
mc_unw.hpp
diff --git
a/src/mc/mc_unw.hpp
b/src/mc/mc_unw.hpp
index
7eeec0a
..
4e949d4
100644
(file)
--- a/
src/mc/mc_unw.hpp
+++ b/
src/mc/mc_unw.hpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2015-201
7
. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2015-201
9
. The SimGrid Team. All rights reserved. */
/* 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. */
/* 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. */
@@
-30,7
+30,6
@@
#include <cstdio>
#include <libunwind.h>
#include <cstdio>
#include <libunwind.h>
-#include <sys/types.h>
namespace simgrid {
namespace unw {
namespace simgrid {
namespace unw {
@@
-50,6
+49,8
@@
class UnwindContext {
public:
UnwindContext() = default;
public:
UnwindContext() = default;
+ UnwindContext(const UnwindContext&) = default;
+ UnwindContext& operator=(const UnwindContext&) = default;
~UnwindContext() { clear(); }
void initialize(simgrid::mc::RemoteClient* process, unw_context_t* c);
void clear();
~UnwindContext() { clear(); }
void initialize(simgrid::mc::RemoteClient* process, unw_context_t* c);
void clear();
@@
-74,7
+75,6
@@
public:
static unw_addr_space_t createUnwindAddressSpace();
};
static unw_addr_space_t createUnwindAddressSpace();
};
-void MC_dump_stack_unw(FILE* file, unw_cursor_t cursor);
void dumpStack(FILE* file, unw_cursor_t cursor);
void dumpStack(FILE* file, pid_t pid);
}
void dumpStack(FILE* file, unw_cursor_t cursor);
void dumpStack(FILE* file, pid_t pid);
}