[pkg-wine-party] [SCM] Debian Wine packaging branch, wheezy, updated. wine-1.4-7-302-gb61b690
Alexandre Julliard
julliard at winehq.org
Sun Jun 17 20:01:39 UTC 2012
The following commit has been merged in the wheezy branch:
commit 8b36eb9c1d7b01d10854d9c3e23f550de8412fb7
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Mar 12 11:20:29 2012 +0100
ntdll: Set the TARGET_UNWIND flag when calling the unwind handler for the target frame.
(cherry picked from commit 2bce0c698e2a2854fc8aa0e44838cc13cbdf772b)
diff --git a/dlls/ntdll/signal_x86_64.c b/dlls/ntdll/signal_x86_64.c
index a9ff371..8b3fca9 100644
--- a/dlls/ntdll/signal_x86_64.c
+++ b/dlls/ntdll/signal_x86_64.c
@@ -3016,6 +3016,7 @@ void WINAPI RtlUnwindEx( PVOID end_frame, PVOID target_ip, EXCEPTION_RECORD *rec
ERR( "invalid end frame %lx/%p\n", dispatch.EstablisherFrame, end_frame );
raise_status( STATUS_INVALID_UNWIND_TARGET, rec );
}
+ if (dispatch.EstablisherFrame == (ULONG64)end_frame) rec->ExceptionFlags |= EH_TARGET_UNWIND;
call_unwind_handler( rec, &dispatch );
}
else /* hack: call builtin handlers registered in the tib list */
diff --git a/include/wine/exception.h b/include/wine/exception.h
index 9115fc9..8b807c1 100644
--- a/include/wine/exception.h
+++ b/include/wine/exception.h
@@ -252,6 +252,7 @@ static inline EXCEPTION_REGISTRATION_RECORD *__wine_get_frame(void)
#define EH_EXIT_UNWIND 0x04
#define EH_STACK_INVALID 0x08
#define EH_NESTED_CALL 0x10
+#define EH_TARGET_UNWIND 0x20
/* Wine-specific exceptions codes */
--
Debian Wine packaging
More information about the pkg-wine-party
mailing list