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
f649ee59
Commit
f649ee59
authored
May 08, 2013
by
Akihiro Sagawa
Committed by
Alexandre Julliard
May 08, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Add x87 register support in gdb proxy.
parent
e06fd8d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
gdbproxy.c
programs/winedbg/gdbproxy.c
+17
-1
No files found.
programs/winedbg/gdbproxy.c
View file @
f649ee59
...
@@ -232,6 +232,22 @@ static struct cpu_register cpu_register_map[] = {
...
@@ -232,6 +232,22 @@ static struct cpu_register cpu_register_map[] = {
REG
(
SegEs
,
4
,
CONTEXT_SEGMENTS
),
REG
(
SegEs
,
4
,
CONTEXT_SEGMENTS
),
REG
(
SegFs
,
4
,
CONTEXT_SEGMENTS
),
REG
(
SegFs
,
4
,
CONTEXT_SEGMENTS
),
REG
(
SegGs
,
4
,
CONTEXT_SEGMENTS
),
REG
(
SegGs
,
4
,
CONTEXT_SEGMENTS
),
{
FIELD_OFFSET
(
CONTEXT
,
FloatSave
.
RegisterArea
[
0
]),
10
,
10
,
CONTEXT_FLOATING_POINT
},
{
FIELD_OFFSET
(
CONTEXT
,
FloatSave
.
RegisterArea
[
10
]),
10
,
10
,
CONTEXT_FLOATING_POINT
},
{
FIELD_OFFSET
(
CONTEXT
,
FloatSave
.
RegisterArea
[
20
]),
10
,
10
,
CONTEXT_FLOATING_POINT
},
{
FIELD_OFFSET
(
CONTEXT
,
FloatSave
.
RegisterArea
[
30
]),
10
,
10
,
CONTEXT_FLOATING_POINT
},
{
FIELD_OFFSET
(
CONTEXT
,
FloatSave
.
RegisterArea
[
40
]),
10
,
10
,
CONTEXT_FLOATING_POINT
},
{
FIELD_OFFSET
(
CONTEXT
,
FloatSave
.
RegisterArea
[
50
]),
10
,
10
,
CONTEXT_FLOATING_POINT
},
{
FIELD_OFFSET
(
CONTEXT
,
FloatSave
.
RegisterArea
[
60
]),
10
,
10
,
CONTEXT_FLOATING_POINT
},
{
FIELD_OFFSET
(
CONTEXT
,
FloatSave
.
RegisterArea
[
70
]),
10
,
10
,
CONTEXT_FLOATING_POINT
},
{
FIELD_OFFSET
(
CONTEXT
,
FloatSave
.
ControlWord
),
2
,
4
,
CONTEXT_FLOATING_POINT
},
{
FIELD_OFFSET
(
CONTEXT
,
FloatSave
.
StatusWord
),
2
,
4
,
CONTEXT_FLOATING_POINT
},
{
FIELD_OFFSET
(
CONTEXT
,
FloatSave
.
TagWord
),
2
,
4
,
CONTEXT_FLOATING_POINT
},
{
FIELD_OFFSET
(
CONTEXT
,
FloatSave
.
ErrorSelector
),
2
,
4
,
CONTEXT_FLOATING_POINT
},
REG
(
FloatSave
.
ErrorOffset
,
4
,
CONTEXT_FLOATING_POINT
),
{
FIELD_OFFSET
(
CONTEXT
,
FloatSave
.
DataSelector
),
2
,
4
,
CONTEXT_FLOATING_POINT
},
REG
(
FloatSave
.
DataOffset
,
4
,
CONTEXT_FLOATING_POINT
),
{
FIELD_OFFSET
(
CONTEXT
,
FloatSave
.
ErrorSelector
)
+
2
,
2
,
4
,
CONTEXT_FLOATING_POINT
},
};
};
#elif defined(__powerpc__)
#elif defined(__powerpc__)
static
const
char
target_xml
[]
=
""
;
static
const
char
target_xml
[]
=
""
;
...
@@ -480,7 +496,7 @@ static BOOL fetch_context(struct gdb_context* gdbctx, HANDLE h, CONTEXT* ctx)
...
@@ -480,7 +496,7 @@ static BOOL fetch_context(struct gdb_context* gdbctx, HANDLE h, CONTEXT* ctx)
{
{
ctx
->
ContextFlags
=
CONTEXT_CONTROL
ctx
->
ContextFlags
=
CONTEXT_CONTROL
|
CONTEXT_INTEGER
|
CONTEXT_INTEGER
#if defined(__powerpc__)
#if defined(__powerpc__)
|| defined(__i386__)
|
CONTEXT_FLOATING_POINT
|
CONTEXT_FLOATING_POINT
#endif
#endif
#ifdef CONTEXT_SEGMENTS
#ifdef CONTEXT_SEGMENTS
...
...
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