André Hentschel : ntdll: Fix usage of ContextFlags on Sparc.

Alexandre Julliard julliard at winehq.org
Thu Apr 21 11:17:46 CDT 2011


Module: wine
Branch: master
Commit: 578931120157cc44eb7c92ddd5572babe4c961ef
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=578931120157cc44eb7c92ddd5572babe4c961ef

Author: André Hentschel <nerv at dawncrow.de>
Date:   Wed Apr 20 21:30:57 2011 +0200

ntdll: Fix usage of ContextFlags on Sparc.

---

 dlls/ntdll/signal_sparc.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/ntdll/signal_sparc.c b/dlls/ntdll/signal_sparc.c
index 29414d7..ac9ee9c 100644
--- a/dlls/ntdll/signal_sparc.c
+++ b/dlls/ntdll/signal_sparc.c
@@ -71,6 +71,8 @@ static inline int dispatch_signal(unsigned int sig)
  */
 static void save_context( CONTEXT *context, ucontext_t *ucontext )
 {
+    context->ContextFlags = CONTEXT_CONTROL | CONTEXT_INTEGER;
+
     /* Special registers */
     context->psr = ucontext->uc_mcontext.gregs[REG_PSR];
     context->pc  = ucontext->uc_mcontext.gregs[REG_PC];




More information about the wine-cvs mailing list