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
68f8d289
Commit
68f8d289
authored
Mar 24, 2006
by
Petr Tesarik
Committed by
Alexandre Julliard
Mar 27, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Fix stepping over an instruction.
parent
404eadc7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
break.c
programs/winedbg/break.c
+5
-3
No files found.
programs/winedbg/break.c
View file @
68f8d289
...
@@ -731,9 +731,9 @@ BOOL break_should_continue(ADDRESS* addr, DWORD code, int* count, BOOL* is_break
...
@@ -731,9 +731,9 @@ BOOL break_should_continue(ADDRESS* addr, DWORD code, int* count, BOOL* is_break
if
(
code
==
EXCEPTION_BREAKPOINT
)
if
(
code
==
EXCEPTION_BREAKPOINT
)
addr
->
Offset
+=
be_cpu
->
adjust_pc_for_break
(
&
dbg_context
,
TRUE
);
addr
->
Offset
+=
be_cpu
->
adjust_pc_for_break
(
&
dbg_context
,
TRUE
);
dbg_curr_thread
->
stopped_xpoint
=
find_xpoint
(
addr
,
be_xpoint_break
);
dbg_curr_process
->
bp
[
0
].
enabled
=
FALSE
;
/* disable the step-over breakpoint */
dbg_curr_process
->
bp
[
0
].
enabled
=
FALSE
;
/* disable the step-over breakpoint */
dbg_curr_thread
->
stopped_xpoint
=
find_xpoint
(
addr
,
be_xpoint_break
);
if
(
dbg_curr_thread
->
stopped_xpoint
>
0
)
if
(
dbg_curr_thread
->
stopped_xpoint
>
0
)
{
{
if
(
!
should_stop
(
dbg_curr_thread
->
stopped_xpoint
))
return
TRUE
;
if
(
!
should_stop
(
dbg_curr_thread
->
stopped_xpoint
))
return
TRUE
;
...
@@ -744,7 +744,8 @@ BOOL break_should_continue(ADDRESS* addr, DWORD code, int* count, BOOL* is_break
...
@@ -744,7 +744,8 @@ BOOL break_should_continue(ADDRESS* addr, DWORD code, int* count, BOOL* is_break
return
FALSE
;
return
FALSE
;
}
}
dbg_curr_thread
->
stopped_xpoint
=
find_xpoint
(
addr
,
be_xpoint_watch_exec
);
if
(
dbg_curr_thread
->
stopped_xpoint
<
0
)
dbg_curr_thread
->
stopped_xpoint
=
find_xpoint
(
addr
,
be_xpoint_watch_exec
);
if
(
dbg_curr_thread
->
stopped_xpoint
>
0
)
if
(
dbg_curr_thread
->
stopped_xpoint
>
0
)
{
{
/* If not single-stepping, do not back up over the break instruction */
/* If not single-stepping, do not back up over the break instruction */
...
@@ -759,7 +760,8 @@ BOOL break_should_continue(ADDRESS* addr, DWORD code, int* count, BOOL* is_break
...
@@ -759,7 +760,8 @@ BOOL break_should_continue(ADDRESS* addr, DWORD code, int* count, BOOL* is_break
return
FALSE
;
return
FALSE
;
}
}
dbg_curr_thread
->
stopped_xpoint
=
find_triggered_watch
(
&
oldval
);
if
(
dbg_curr_thread
->
stopped_xpoint
<
0
)
dbg_curr_thread
->
stopped_xpoint
=
find_triggered_watch
(
&
oldval
);
if
(
dbg_curr_thread
->
stopped_xpoint
>
0
)
if
(
dbg_curr_thread
->
stopped_xpoint
>
0
)
{
{
/* If not single-stepping, do not back up over the break instruction */
/* If not single-stepping, do not back up over the break 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