Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
6d6b2160
Commit
6d6b2160
authored
Oct 24, 2012
by
Marcus Meissner
Committed by
Alexandre Julliard
Oct 25, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Size of the floating point stack registers is 10 bytes (Coverity).
parent
32809395
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
cpu_i386.c
dlls/dbghelp/cpu_i386.c
+10
-8
No files found.
dlls/dbghelp/cpu_i386.c
View file @
6d6b2160
...
...
@@ -575,14 +575,16 @@ static void* i386_fetch_context_reg(CONTEXT* ctx, unsigned regno, unsigned* size
case
CV_REG_ESP
:
*
size
=
sizeof
(
ctx
->
Esp
);
return
&
ctx
->
Esp
;
case
CV_REG_EIP
:
*
size
=
sizeof
(
ctx
->
Eip
);
return
&
ctx
->
Eip
;
case
CV_REG_ST0
+
0
:
*
size
=
sizeof
(
long
double
);
return
&
ctx
->
FloatSave
.
RegisterArea
[
0
*
sizeof
(
long
double
)];
case
CV_REG_ST0
+
1
:
*
size
=
sizeof
(
long
double
);
return
&
ctx
->
FloatSave
.
RegisterArea
[
1
*
sizeof
(
long
double
)];
case
CV_REG_ST0
+
2
:
*
size
=
sizeof
(
long
double
);
return
&
ctx
->
FloatSave
.
RegisterArea
[
2
*
sizeof
(
long
double
)];
case
CV_REG_ST0
+
3
:
*
size
=
sizeof
(
long
double
);
return
&
ctx
->
FloatSave
.
RegisterArea
[
3
*
sizeof
(
long
double
)];
case
CV_REG_ST0
+
4
:
*
size
=
sizeof
(
long
double
);
return
&
ctx
->
FloatSave
.
RegisterArea
[
4
*
sizeof
(
long
double
)];
case
CV_REG_ST0
+
5
:
*
size
=
sizeof
(
long
double
);
return
&
ctx
->
FloatSave
.
RegisterArea
[
5
*
sizeof
(
long
double
)];
case
CV_REG_ST0
+
6
:
*
size
=
sizeof
(
long
double
);
return
&
ctx
->
FloatSave
.
RegisterArea
[
6
*
sizeof
(
long
double
)];
case
CV_REG_ST0
+
7
:
*
size
=
sizeof
(
long
double
);
return
&
ctx
->
FloatSave
.
RegisterArea
[
7
*
sizeof
(
long
double
)];
/* These are x87 floating point registers... They do not match a C type in
* the Linux ABI, so hardcode their 80-bitness. */
case
CV_REG_ST0
+
0
:
*
size
=
10
;
return
&
ctx
->
FloatSave
.
RegisterArea
[
0
*
10
];
case
CV_REG_ST0
+
1
:
*
size
=
10
;
return
&
ctx
->
FloatSave
.
RegisterArea
[
1
*
10
];
case
CV_REG_ST0
+
2
:
*
size
=
10
;
return
&
ctx
->
FloatSave
.
RegisterArea
[
2
*
10
];
case
CV_REG_ST0
+
3
:
*
size
=
10
;
return
&
ctx
->
FloatSave
.
RegisterArea
[
3
*
10
];
case
CV_REG_ST0
+
4
:
*
size
=
10
;
return
&
ctx
->
FloatSave
.
RegisterArea
[
4
*
10
];
case
CV_REG_ST0
+
5
:
*
size
=
10
;
return
&
ctx
->
FloatSave
.
RegisterArea
[
5
*
10
];
case
CV_REG_ST0
+
6
:
*
size
=
10
;
return
&
ctx
->
FloatSave
.
RegisterArea
[
6
*
10
];
case
CV_REG_ST0
+
7
:
*
size
=
10
;
return
&
ctx
->
FloatSave
.
RegisterArea
[
7
*
10
];
case
CV_REG_CTRL
:
*
size
=
sizeof
(
DWORD
);
return
&
ctx
->
FloatSave
.
ControlWord
;
case
CV_REG_STAT
:
*
size
=
sizeof
(
DWORD
);
return
&
ctx
->
FloatSave
.
StatusWord
;
...
...
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