Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
48a447c5
Commit
48a447c5
authored
Jan 13, 2020
by
Piotr Caban
Committed by
Alexandre Julliard
Jan 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Pass catch_func_nested_frame struct to call_catch_block.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ea20974c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
except_i386.c
dlls/msvcrt/except_i386.c
+5
-5
No files found.
dlls/msvcrt/except_i386.c
View file @
48a447c5
...
...
@@ -110,7 +110,7 @@ typedef struct
{
cxx_exception_frame
*
frame
;
const
cxx_function_descr
*
descr
;
EXCEPTION_REGISTRATION_RECORD
*
nested_frame
;
catch_func_nested_frame
*
nested_frame
;
}
se_translator_ctx
;
typedef
struct
_SCOPETABLE
...
...
@@ -390,7 +390,7 @@ static DWORD catch_function_nested_handler( EXCEPTION_RECORD *rec, EXCEPTION_REG
static
inline
void
call_catch_block
(
PEXCEPTION_RECORD
rec
,
CONTEXT
*
context
,
cxx_exception_frame
*
frame
,
const
cxx_function_descr
*
descr
,
int
nested_trylevel
,
EXCEPTION_REGISTRATION_RECORD
*
catch_frame
,
catch_func_nested_frame
*
catch_frame
,
cxx_exception_type
*
info
)
{
UINT
i
;
...
...
@@ -440,7 +440,7 @@ static inline void call_catch_block( PEXCEPTION_RECORD rec, CONTEXT *context,
(
void
*
)
rec
->
ExceptionInformation
[
1
]);
/* unwind the stack */
RtlUnwind
(
catch_frame
?
catch_
frame
:
&
frame
->
frame
,
0
,
rec
,
0
);
RtlUnwind
(
catch_frame
?
&
catch_frame
->
frame
:
&
frame
->
frame
,
0
,
rec
,
0
);
cxx_local_unwind
(
frame
,
descr
,
tryblock
->
start_level
);
frame
->
trylevel
=
tryblock
->
end_level
+
1
;
...
...
@@ -627,7 +627,7 @@ DWORD CDECL cxx_frame_handler( PEXCEPTION_RECORD rec, cxx_exception_frame* frame
ctx
.
frame
=
frame
;
ctx
.
descr
=
descr
;
ctx
.
nested_frame
=
nested_frame
?
&
nested_frame
->
frame
:
NULL
;
ctx
.
nested_frame
=
nested_frame
;
__TRY
{
except_ptrs
.
ExceptionRecord
=
rec
;
...
...
@@ -642,7 +642,7 @@ DWORD CDECL cxx_frame_handler( PEXCEPTION_RECORD rec, cxx_exception_frame* frame
}
call_catch_block
(
rec
,
context
,
frame
,
descr
,
frame
->
trylevel
,
nested_frame
?
&
nested_frame
->
frame
:
NULL
,
exc_type
);
frame
->
trylevel
,
nested_frame
,
exc_type
);
return
ExceptionContinueSearch
;
}
...
...
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