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
[mc] Remove useless code (get SP register)
[simgrid.git]
/
src
/
mc
/
mc_checkpoint.c
diff --git
a/src/mc/mc_checkpoint.c
b/src/mc/mc_checkpoint.c
index
7e8d185
..
5f924c4
100644
(file)
--- a/
src/mc/mc_checkpoint.c
+++ b/
src/mc/mc_checkpoint.c
@@
-404,7
+404,7
@@
static xbt_dynar_t MC_get_local_variables_values(void *stack_context){
xbt_abort();
}
xbt_abort();
}
- unw_word_t ip,
sp,
off;
+ unw_word_t ip, off;
dw_frame_t frame;
unsigned int cursor = 0;
dw_frame_t frame;
unsigned int cursor = 0;
@@
-420,7
+420,6
@@
static xbt_dynar_t MC_get_local_variables_values(void *stack_context){
while(ret >= 0 && !stop){
unw_get_reg(&c, UNW_REG_IP, &ip);
while(ret >= 0 && !stop){
unw_get_reg(&c, UNW_REG_IP, &ip);
- unw_get_reg(&c, UNW_REG_SP, &sp);
unw_get_proc_name(&c, frame_name, sizeof (frame_name), &off);
unw_get_proc_name(&c, frame_name, sizeof (frame_name), &off);