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
b5b8810e
Commit
b5b8810e
authored
Aug 04, 2004
by
Markus Amsler
Committed by
Alexandre Julliard
Aug 04, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pass debug exceptions to winedos.
parent
94a9d33b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
signal_i386.c
dlls/ntdll/signal_i386.c
+1
-2
dosvm.c
dlls/winedos/dosvm.c
+9
-0
No files found.
dlls/ntdll/signal_i386.c
View file @
b5b8810e
...
...
@@ -1270,9 +1270,8 @@ void __wine_enter_vm86( CONTEXT *context )
case
VM86_TRAP
:
/* return due to DOS-debugger request */
switch
(
VM86_ARG
(
res
))
{
case
T_TRCTRAP
:
/* Single-step exception */
case
T_TRCTRAP
:
/* Single-step exception
, single step flag is cleared by raise_trap_exception
*/
rec
.
ExceptionCode
=
EXCEPTION_SINGLE_STEP
;
context
->
EFlags
&=
~
0x100
;
/* clear single-step flag */
break
;
case
T_BPTFLT
:
/* Breakpoint exception */
rec
.
ExceptionAddress
=
(
char
*
)
rec
.
ExceptionAddress
-
1
;
/* back up over the int3 instruction */
...
...
dlls/winedos/dosvm.c
View file @
b5b8810e
...
...
@@ -557,6 +557,15 @@ static WINE_EXCEPTION_FILTER(exception_handler)
ERR
(
"Protected mode STI caught by real mode handler!
\n
"
);
DOSVM_SendQueuedEvents
(
context
);
return
EXCEPTION_CONTINUE_EXECUTION
;
case
EXCEPTION_SINGLE_STEP
:
ret
=
DOSVM_EmulateInterruptRM
(
context
,
1
);
return
ret
?
EXCEPTION_CONTINUE_EXECUTION
:
EXCEPTION_EXECUTE_HANDLER
;
case
EXCEPTION_BREAKPOINT
:
ret
=
DOSVM_EmulateInterruptRM
(
context
,
3
);
return
ret
?
EXCEPTION_CONTINUE_EXECUTION
:
EXCEPTION_EXECUTE_HANDLER
;
}
return
EXCEPTION_CONTINUE_SEARCH
;
}
...
...
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