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
model-checker : improve stack ignore in heap comparison algorithm
[simgrid.git]
/
src
/
xbt
/
win32_ucontext.c
diff --git
a/src/xbt/win32_ucontext.c
b/src/xbt/win32_ucontext.c
index
c91c39e
..
b6d5caf
100644
(file)
--- a/
src/xbt/win32_ucontext.c
+++ b/
src/xbt/win32_ucontext.c
@@
-27,7
+27,7
@@
int getcontext(ucontext_t * ucp)
int ret;
\r
\r
/* Retrieve the full machine context */
\r
int ret;
\r
\r
/* Retrieve the full machine context */
\r
- ucp->uc_mcontext.ContextFlags = CONTEXT_FULL;
\r
+ ucp->uc_mcontext.ContextFlags = CONTEXT_FULL
| CONTEXT_DEBUG_REGISTERS
;
\r
ret = GetThreadContext(GetCurrentThread(), &ucp->uc_mcontext);
\r
return (ret == 0) ? -1 : 0;
\r
}
\r
ret = GetThreadContext(GetCurrentThread(), &ucp->uc_mcontext);
\r
return (ret == 0) ? -1 : 0;
\r
}
\r
@@
-59,7
+59,7
@@
int makecontext(ucontext_t * ucp, void (*func) (), int argc, ...)
}
\r
\r
/* Set the instruction and the stack pointer */
\r
}
\r
\r
/* Set the instruction and the stack pointer */
\r
- #ifdef I_X86_
\r
+ #ifdef
_
I_X86_
\r
ucp->uc_mcontext.Eip = (DWORD) func;
\r
ucp->uc_mcontext.Esp = (DWORD) sp - sizeof(void*);
\r
#endif
\r
ucp->uc_mcontext.Eip = (DWORD) func;
\r
ucp->uc_mcontext.Esp = (DWORD) sp - sizeof(void*);
\r
#endif
\r
@@
-72,7
+72,7
@@
int makecontext(ucontext_t * ucp, void (*func) (), int argc, ...)
#endif
\r
\r
/* Save/Restore the full machine context */
\r
#endif
\r
\r
/* Save/Restore the full machine context */
\r
- ucp->uc_mcontext.ContextFlags = CONTEXT_FULL;
\r
+ ucp->uc_mcontext.ContextFlags = CONTEXT_FULL
| CONTEXT_DEBUG_REGISTERS
;
\r
\r
/* Copy the arguments */
\r
va_start(ap, argc);
\r
\r
/* Copy the arguments */
\r
va_start(ap, argc);
\r