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
00bb4536
Commit
00bb4536
authored
Apr 06, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Print traces for EXC_CallHandler even with the assembly version.
parent
508c6e6c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
exception.c
dlls/ntdll/exception.c
+11
-5
No files found.
dlls/ntdll/exception.c
View file @
00bb4536
...
...
@@ -130,10 +130,7 @@ static DWORD EXC_CallHandler( EXCEPTION_RECORD *record, EXCEPTION_REGISTRATION_R
newframe
.
frame
.
Handler
=
nested_handler
;
newframe
.
prevFrame
=
frame
;
__wine_push_frame
(
&
newframe
.
frame
);
TRACE
(
"calling handler at %p code=%lx flags=%lx
\n
"
,
handler
,
record
->
ExceptionCode
,
record
->
ExceptionFlags
);
ret
=
handler
(
record
,
frame
,
context
,
dispatcher
);
TRACE
(
"handler returned %lx
\n
"
,
ret
);
__wine_pop_frame
(
&
newframe
.
frame
);
return
ret
;
}
...
...
@@ -266,7 +263,11 @@ static NTSTATUS call_stack_handlers( EXCEPTION_RECORD *rec, CONTEXT *context )
}
/* Call handler */
TRACE
(
"calling handler at %p code=%lx flags=%lx
\n
"
,
frame
->
Handler
,
rec
->
ExceptionCode
,
rec
->
ExceptionFlags
);
res
=
EXC_CallHandler
(
rec
,
frame
,
context
,
&
dispatch
,
frame
->
Handler
,
EXC_RaiseHandler
);
TRACE
(
"handler at %p returned %lx
\n
"
,
frame
->
Handler
,
res
);
if
(
frame
==
nested_frame
)
{
/* no longer nested */
...
...
@@ -413,6 +414,7 @@ void WINAPI __regs_RtlUnwind( EXCEPTION_REGISTRATION_RECORD* pEndFrame, PVOID un
{
EXCEPTION_RECORD
record
,
newrec
;
EXCEPTION_REGISTRATION_RECORD
*
frame
,
*
dispatch
;
DWORD
res
;
#ifdef __i386__
context
->
Eax
=
(
DWORD
)
returnEax
;
...
...
@@ -458,8 +460,12 @@ void WINAPI __regs_RtlUnwind( EXCEPTION_REGISTRATION_RECORD* pEndFrame, PVOID un
}
/* Call handler */
switch
(
EXC_CallHandler
(
pRecord
,
frame
,
context
,
&
dispatch
,
frame
->
Handler
,
EXC_UnwindHandler
))
TRACE
(
"calling handler at %p code=%lx flags=%lx
\n
"
,
frame
->
Handler
,
pRecord
->
ExceptionCode
,
pRecord
->
ExceptionFlags
);
res
=
EXC_CallHandler
(
pRecord
,
frame
,
context
,
&
dispatch
,
frame
->
Handler
,
EXC_UnwindHandler
);
TRACE
(
"handler at %p returned %lx
\n
"
,
frame
->
Handler
,
res
);
switch
(
res
)
{
case
ExceptionContinueSearch
:
break
;
...
...
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