Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
36309142
Commit
36309142
authored
Apr 30, 2014
by
Piotr Caban
Committed by
Alexandre Julliard
Apr 30, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Handle seh exceptions rethrowing in cxx_frame_handler.
parent
b5b454c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
except_i386.c
dlls/msvcrt/except_i386.c
+12
-8
No files found.
dlls/msvcrt/except_i386.c
View file @
36309142
...
...
@@ -522,17 +522,21 @@ DWORD CDECL cxx_frame_handler( PEXCEPTION_RECORD rec, cxx_exception_frame* frame
}
if
(
!
descr
->
tryblock_count
)
return
ExceptionContinueSearch
;
if
(
rec
->
ExceptionCode
==
CXX_EXCEPTION
)
if
(
rec
->
ExceptionCode
==
CXX_EXCEPTION
&&
rec
->
ExceptionInformation
[
1
]
==
0
&&
rec
->
ExceptionInformation
[
2
]
==
0
)
{
if
(
rec
->
ExceptionInformation
[
1
]
==
0
&&
rec
->
ExceptionInformation
[
2
]
==
0
)
{
EXCEPTION_RECORD
*
exc_record
=
msvcrt_get_thread_data
()
->
exc_record
;
rec
->
ExceptionInformation
[
1
]
=
exc_record
->
ExceptionInformation
[
1
]
;
rec
->
ExceptionInformation
[
2
]
=
exc_record
->
ExceptionInformation
[
2
];
TRACE
(
"detect rethrow
: obj: %lx, type: %lx
\n
"
,
rec
->
ExceptionInformation
[
1
],
rec
->
ExceptionInformation
[
2
]);
*
rec
=
*
msvcrt_get_thread_data
()
->
exc_record
;
rec
->
ExceptionFlags
&=
~
EH_UNWINDING
;
if
(
TRACE_ON
(
seh
))
{
TRACE
(
"detect rethrow: exception code: %x
\n
"
,
rec
->
ExceptionCode
)
;
if
(
rec
->
ExceptionCode
==
CXX_EXCEPTION
)
TRACE
(
"re-propage
: obj: %lx, type: %lx
\n
"
,
rec
->
ExceptionInformation
[
1
],
rec
->
ExceptionInformation
[
2
]);
}
}
if
(
rec
->
ExceptionCode
==
CXX_EXCEPTION
)
{
exc_type
=
(
cxx_exception_type
*
)
rec
->
ExceptionInformation
[
2
];
if
(
rec
->
ExceptionInformation
[
0
]
>
CXX_FRAME_MAGIC_VC8
&&
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment