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
a4c1b341
Commit
a4c1b341
authored
Oct 14, 2010
by
André Hentschel
Committed by
Alexandre Julliard
Oct 15, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Implement arm_get_addr.
parent
403201b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
cpu_arm.c
dlls/dbghelp/cpu_arm.c
+10
-7
No files found.
dlls/dbghelp/cpu_arm.c
View file @
a4c1b341
...
@@ -32,15 +32,18 @@ WINE_DEFAULT_DEBUG_CHANNEL(dbghelp);
...
@@ -32,15 +32,18 @@ WINE_DEFAULT_DEBUG_CHANNEL(dbghelp);
static
unsigned
arm_get_addr
(
HANDLE
hThread
,
const
CONTEXT
*
ctx
,
static
unsigned
arm_get_addr
(
HANDLE
hThread
,
const
CONTEXT
*
ctx
,
enum
cpu_addr
ca
,
ADDRESS64
*
addr
)
enum
cpu_addr
ca
,
ADDRESS64
*
addr
)
{
{
switch
(
ca
)
addr
->
Mode
=
AddrModeFlat
;
addr
->
Segment
=
0
;
/* don't need segment */
switch
(
ca
)
{
{
case
cpu_addr_pc
:
#ifdef __arm__
case
cpu_addr_stack
:
case
cpu_addr_pc
:
addr
->
Offset
=
ctx
->
Pc
;
return
TRUE
;
case
cpu_addr_frame
:
case
cpu_addr_stack
:
addr
->
Offset
=
ctx
->
Sp
;
return
TRUE
;
default:
case
cpu_addr_frame
:
addr
->
Offset
=
ctx
->
Fp
;
return
TRUE
;
FIXME
(
"not done for ARM
\n
"
);
#endif
default:
addr
->
Mode
=
-
1
;
return
FALSE
;
}
}
return
FALSE
;
}
}
static
BOOL
arm_stack_walk
(
struct
cpu_stack_walk
*
csw
,
LPSTACKFRAME64
frame
,
CONTEXT
*
context
)
static
BOOL
arm_stack_walk
(
struct
cpu_stack_walk
*
csw
,
LPSTACKFRAME64
frame
,
CONTEXT
*
context
)
...
...
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