Commit 0bb4fc05 by Kai Tietz Committed by Kai Tietz

re PR objc/56870 (@catch handler broken with SEH)

2014-02-18  Kai Tietz  <ktietz@redhat.com>
	Jonathan Schleifer  <js@webkeks.org>

	PR objc/56870
	* unwind-seh.c (_GCC_specific_handler): Pass proper
	value to unwind-handler.


Co-Authored-By: Jonathan Schleifer <js@webkeks.org>

From-SVN: r207849
parent 48810be0
2014-02-18 Kai Tietz <ktietz@redhat.com>
Jonathan Schleifer <js@webkeks.org>
PR objc/56870
* unwind-seh.c (_GCC_specific_handler): Pass proper
value to unwind-handler.
2014-02-12 Joseph Myers <joseph@codesourcery.com> 2014-02-12 Joseph Myers <joseph@codesourcery.com>
* soft-fp/adddf3.c: Update from glibc. * soft-fp/adddf3.c: Update from glibc.
......
...@@ -313,8 +313,9 @@ _GCC_specific_handler (PEXCEPTION_RECORD ms_exc, void *this_frame, ...@@ -313,8 +313,9 @@ _GCC_specific_handler (PEXCEPTION_RECORD ms_exc, void *this_frame,
ms_exc->ExceptionInformation[3] = gcc_context.reg[1]; ms_exc->ExceptionInformation[3] = gcc_context.reg[1];
/* Begin phase 2. Perform the unwinding. */ /* Begin phase 2. Perform the unwinding. */
RtlUnwindEx (this_frame, gcc_context.ra, ms_exc, gcc_exc, RtlUnwindEx (this_frame, gcc_context.ra, ms_exc,
ms_orig_context, ms_disp->HistoryTable); (PVOID)gcc_context.reg[0], ms_orig_context,
ms_disp->HistoryTable);
} }
/* In _Unwind_RaiseException we return _URC_FATAL_PHASE1_ERROR. */ /* In _Unwind_RaiseException we return _URC_FATAL_PHASE1_ERROR. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment