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
18bd3f69
Commit
18bd3f69
authored
Jun 25, 2000
by
Eric Pouech
Committed by
Alexandre Julliard
Jun 25, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bad exception handler chain termination.
parent
68dd6790
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
except.c
win32/except.c
+13
-2
No files found.
win32/except.c
View file @
18bd3f69
...
...
@@ -84,7 +84,18 @@ DWORD WINAPI UnhandledExceptionFilter(PEXCEPTION_POINTERS epointers)
req
->
first
=
0
;
req
->
context
=
*
epointers
->
ContextRecord
;
if
(
!
server_call_noerr
(
REQ_EXCEPTION_EVENT
))
*
epointers
->
ContextRecord
=
req
->
context
;
if
(
req
->
status
==
DBG_CONTINUE
)
return
EXCEPTION_CONTINUE_EXECUTION
;
switch
(
req
->
status
)
{
case
DBG_CONTINUE
:
return
EXCEPTION_CONTINUE_EXECUTION
;
case
DBG_EXCEPTION_NOT_HANDLED
:
TerminateProcess
(
GetCurrentProcess
(),
epointers
->
ExceptionRecord
->
ExceptionCode
);
break
;
/* not reached */
case
0
:
/* no debugger is present */
break
;
default:
FIXME
(
"Unsupported yet debug continue value %d (please report)
\n
"
,
req
->
status
);
}
if
(
pdb
->
top_filter
)
{
...
...
@@ -142,7 +153,7 @@ DWORD WINAPI UnhandledExceptionFilter(PEXCEPTION_POINTERS epointers)
WaitForSingleObject
(
hEvent
,
INFINITE
);
ret
=
EXCEPTION_CONTINUE_SEARCH
;
}
else
{
ERR
(
"Couldn't start debugger (%s)
\n
"
,
buffer
);
ERR
(
"Couldn't start debugger (%s)
(%ld)
\n
"
,
buffer
,
GetLastError
()
);
}
CloseHandle
(
hEvent
);
}
else
{
...
...
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