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
f2fc5e6e
Commit
f2fc5e6e
authored
Apr 13, 2011
by
André Hentschel
Committed by
Alexandre Julliard
Apr 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Implement sparc_get_addr.
parent
be378c65
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
cpu_sparc.c
dlls/dbghelp/cpu_sparc.c
+10
-7
No files found.
dlls/dbghelp/cpu_sparc.c
View file @
f2fc5e6e
...
...
@@ -32,15 +32,18 @@ WINE_DEFAULT_DEBUG_CHANNEL(dbghelp);
static
unsigned
sparc_get_addr
(
HANDLE
hThread
,
const
CONTEXT
*
ctx
,
enum
cpu_addr
ca
,
ADDRESS64
*
addr
)
{
switch
(
ca
)
addr
->
Mode
=
AddrModeFlat
;
addr
->
Segment
=
0
;
/* don't need segment */
switch
(
ca
)
{
case
cpu_addr_pc
:
case
cpu_addr_stack
:
case
cpu_addr_frame
:
default:
FIXME
(
"not done for Sparc
\n
"
);
#ifdef __sparc__
case
cpu_addr_pc
:
addr
->
Offset
=
ctx
->
pc
;
return
TRUE
;
case
cpu_addr_stack
:
addr
->
Offset
=
ctx
->
o6
;
return
TRUE
;
case
cpu_addr_frame
:
addr
->
Offset
=
ctx
->
i6
;
return
TRUE
;
#endif
default:
addr
->
Mode
=
-
1
;
return
FALSE
;
}
return
FALSE
;
}
static
BOOL
sparc_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