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
e514a4a4
Commit
e514a4a4
authored
Jun 02, 2002
by
Eric Pouech
Committed by
Alexandre Julliard
Jun 02, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Really enter the debugger when DebugBreak(Process) is invoked on
debuggee.
parent
9c3059c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
break.c
debugger/break.c
+11
-3
No files found.
debugger/break.c
View file @
e514a4a4
...
...
@@ -799,7 +799,7 @@ BOOL DEBUG_ShouldContinue( DBG_ADDR *addr, DWORD code, int * count )
syminfo
=
DEBUG_PrintAddress
(
addr
,
addr_mode
,
TRUE
);
DEBUG_Printf
(
DBG_CHN_MESG
,
" values: old=%lu new=%lu
\n
"
,
oldval
,
breakpoints
[
wpnum
].
u
.
w
.
oldval
);
oldval
,
breakpoints
[
wpnum
].
u
.
w
.
oldval
);
if
(
syminfo
.
list
.
sourcefile
!=
NULL
)
DEBUG_List
(
&
syminfo
.
list
,
NULL
,
0
);
return
FALSE
;
...
...
@@ -844,12 +844,20 @@ BOOL DEBUG_ShouldContinue( DBG_ADDR *addr, DWORD code, int * count )
}
#ifdef __i386__
/* If there's no breakpoint and we are not single-stepping, then we */
/* must have encountered an int3 in the Windows program; let's skip it. */
/* If there's no breakpoint and we are not single-stepping, then
* either we must have encountered an int3 in the Windows program
* or someone is trying to stop us
* If the later, (no int3 opcode at current address) then stop,
* otherwise, let's skip it.
*/
if
((
bpnum
==
-
1
)
&&
code
==
EXCEPTION_BREAKPOINT
)
{
unsigned
char
c
;
if
(
!
DEBUG_READ_MEM
(
&
addr
,
&
c
,
1
))
c
=
0xCC
;
DEBUG_context
.
Eip
++
;
addr
->
off
++
;
if
(
c
!=
0xCC
)
return
FALSE
;
}
#endif
...
...
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