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
55107912
Commit
55107912
authored
Jan 16, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Fix a couple of pointer cast warnings.
parent
dc880388
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
cpu_i386.c
dlls/dbghelp/cpu_i386.c
+3
-3
No files found.
dlls/dbghelp/cpu_i386.c
View file @
55107912
...
...
@@ -219,7 +219,7 @@ static BOOL i386_stack_walk(struct cpu_stack_walk* csw, LPSTACKFRAME64 frame, CO
if
(
NtQueryInformationThread
(
csw
->
hThread
,
ThreadBasicInformation
,
&
info
,
sizeof
(
info
),
NULL
)
==
STATUS_SUCCESS
)
{
curr_switch
=
(
unsigned
long
)
info
.
TebBaseAddress
+
FIELD_OFFSET
(
TEB
,
WOW32Reserved
);
curr_switch
=
(
DWORD_PTR
)
info
.
TebBaseAddress
+
FIELD_OFFSET
(
TEB
,
WOW32Reserved
);
if
(
!
sw_read_mem
(
csw
,
curr_switch
,
&
p
,
sizeof
(
p
)))
{
WARN
(
"Can't read TEB:WOW32Reserved
\n
"
);
...
...
@@ -339,13 +339,13 @@ static BOOL i386_stack_walk(struct cpu_stack_walk* csw, LPSTACKFRAME64 frame, CO
}
TRACE
(
"Got a 16 bit stack switch:"
"
\n\t
frame32: %
08lx
"
"
\n\t
frame32: %
p
"
"
\n\t
edx:%08x ecx:%08x ebp:%08x"
"
\n\t
ds:%04x es:%04x fs:%04x gs:%04x"
"
\n\t
call_from_ip:%08x module_cs:%04x relay=%08x"
"
\n\t
entry_ip:%04x entry_point:%08x"
"
\n\t
bp:%04x ip:%04x cs:%04x
\n
"
,
(
unsigned
long
)
frame16
.
frame32
,
frame16
.
frame32
,
frame16
.
edx
,
frame16
.
ecx
,
frame16
.
ebp
,
frame16
.
ds
,
frame16
.
es
,
frame16
.
fs
,
frame16
.
gs
,
frame16
.
callfrom_ip
,
frame16
.
module_cs
,
frame16
.
relay
,
...
...
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