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
0d588a4a
Commit
0d588a4a
authored
Jun 02, 2002
by
Eric Pouech
Committed by
Alexandre Julliard
Jun 02, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed DebugBreakProcess (now generates EXCEPTION_BREAKPOINT instead of
EXCEPTION_SINGLE_STEP).
parent
26c1c421
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
signal_i386.c
dlls/ntdll/signal_i386.c
+13
-2
No files found.
dlls/ntdll/signal_i386.c
View file @
0d588a4a
...
...
@@ -765,8 +765,19 @@ static void do_trap( CONTEXT *context, int trap_code )
switch
(
trap_code
)
{
case
T_TRCTRAP
:
/* Single-step exception */
rec
.
ExceptionCode
=
EXCEPTION_SINGLE_STEP
;
context
->
EFlags
&=
~
0x100
;
/* clear single-step flag */
if
(
context
->
EFlags
&
0x100
)
{
rec
.
ExceptionCode
=
EXCEPTION_SINGLE_STEP
;
context
->
EFlags
&=
~
0x100
;
/* clear single-step flag */
}
else
{
/* likely we get this because of a kill(SIGTRAP) on ourself,
* so send a bp exception instead of a single step exception
*/
TRACE
(
"Spurious single step trap => breakpoint simulation
\n
"
);
rec
.
ExceptionCode
=
EXCEPTION_BREAKPOINT
;
}
break
;
case
T_BPTFLT
:
/* Breakpoint exception */
rec
.
ExceptionAddress
=
(
char
*
)
rec
.
ExceptionAddress
-
1
;
/* back up over the int3 instruction */
...
...
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