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
2c5a7743
Commit
2c5a7743
authored
Mar 10, 2012
by
André Hentschel
Committed by
Alexandre Julliard
Mar 12, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Respect Thumb mode when adjusting PC on ARM.
parent
c6008a06
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
be_arm.c
programs/winedbg/be_arm.c
+6
-4
No files found.
programs/winedbg/be_arm.c
View file @
2c5a7743
...
...
@@ -205,13 +205,15 @@ static void be_arm_clear_watchpoint(CONTEXT* ctx, unsigned idx)
static
int
be_arm_adjust_pc_for_break
(
CONTEXT
*
ctx
,
BOOL
way
)
{
INT
step
=
(
ctx
->
Cpsr
&
0x20
)
?
2
:
4
;
if
(
way
)
{
ctx
->
Pc
-=
4
;
return
-
4
;
ctx
->
Pc
-=
step
;
return
-
step
;
}
ctx
->
Pc
+=
4
;
return
4
;
ctx
->
Pc
+=
step
;
return
step
;
}
static
int
be_arm_fetch_integer
(
const
struct
dbg_lvalue
*
lvalue
,
unsigned
size
,
...
...
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