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
dae65898
Commit
dae65898
authored
Apr 26, 2011
by
André Hentschel
Committed by
Alexandre Julliard
Apr 27, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Implement sparc_map_dwarf_register.
parent
46a96b13
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
2 deletions
+24
-2
cpu_sparc.c
dlls/dbghelp/cpu_sparc.c
+11
-2
cvconst.h
include/cvconst.h
+13
-0
No files found.
dlls/dbghelp/cpu_sparc.c
View file @
dae65898
...
...
@@ -54,8 +54,17 @@ static BOOL sparc_stack_walk(struct cpu_stack_walk* csw, LPSTACKFRAME64 frame, C
static
unsigned
sparc_map_dwarf_register
(
unsigned
regno
)
{
FIXME
(
"not done for Sparc
\n
"
);
return
0
;
if
(
regno
<=
7
)
return
CV_SPARC_G0
+
regno
;
else
if
(
regno
>=
8
&&
regno
<=
15
)
return
CV_SPARC_O0
+
regno
-
8
;
else
if
(
regno
>=
16
&&
regno
<=
23
)
return
CV_SPARC_L0
+
regno
-
16
;
else
if
(
regno
>=
24
&&
regno
<=
31
)
return
CV_SPARC_I0
+
regno
-
24
;
FIXME
(
"Don't know how to map register %d
\n
"
,
regno
);
return
CV_SPARC_NOREG
;
}
static
void
*
sparc_fetch_context_reg
(
CONTEXT
*
ctx
,
unsigned
regno
,
unsigned
*
size
)
...
...
include/cvconst.h
View file @
dae65898
...
...
@@ -530,6 +530,19 @@ enum CV_HREG_e
CV_AMD64_R13
=
341
,
CV_AMD64_R14
=
342
,
CV_AMD64_R15
=
343
,
/* Wine extension */
CV_SPARC_NOREG
=
CV_REG_NONE
,
CV_SPARC_G0
=
10
,
/* includes g0 to g7 */
CV_SPARC_O0
=
18
,
/* includes o0 to o7 */
CV_SPARC_L0
=
26
,
/* includes l0 to l7 */
CV_SPARC_I0
=
34
,
/* includes i0 to i7 */
CV_SPARC_PSR
=
42
,
CV_SPARC_PC
=
43
,
CV_SPARC_NPC
=
44
,
CV_SPARC_Y
=
45
,
CV_SPARC_WIM
=
46
,
CV_SPARC_TBR
=
47
,
};
typedef
enum
...
...
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