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
ca9b1d00
Commit
ca9b1d00
authored
Jul 31, 2018
by
Zebediah Figura
Committed by
Alexandre Julliard
Aug 14, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp/msc: Use the word size of the target process.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b7defd29
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
msc.c
dlls/dbghelp/msc.c
+2
-2
No files found.
dlls/dbghelp/msc.c
View file @
ca9b1d00
...
@@ -3089,10 +3089,10 @@ static BOOL pev_binop(struct pevaluator* pev, char op)
...
@@ -3089,10 +3089,10 @@ static BOOL pev_binop(struct pevaluator* pev, char op)
static
BOOL
pev_deref
(
struct
pevaluator
*
pev
)
static
BOOL
pev_deref
(
struct
pevaluator
*
pev
)
{
{
char
res
[
PEV_MAX_LEN
];
char
res
[
PEV_MAX_LEN
];
DWORD_PTR
v1
,
v2
;
DWORD_PTR
v1
,
v2
=
0
;
if
(
!
pev_pop_val
(
pev
,
&
v1
))
return
FALSE
;
if
(
!
pev_pop_val
(
pev
,
&
v1
))
return
FALSE
;
if
(
!
sw_read_mem
(
pev
->
csw
,
v1
,
&
v2
,
sizeof
(
v2
)
))
if
(
!
sw_read_mem
(
pev
->
csw
,
v1
,
&
v2
,
pev
->
csw
->
cpu
->
word_size
))
return
PEV_ERROR1
(
pev
,
"deref: cannot read mem at %lx
\n
"
,
v1
);
return
PEV_ERROR1
(
pev
,
"deref: cannot read mem at %lx
\n
"
,
v1
);
snprintf
(
res
,
sizeof
(
res
),
"%ld"
,
v2
);
snprintf
(
res
,
sizeof
(
res
),
"%ld"
,
v2
);
pev_push
(
pev
,
res
);
pev_push
(
pev
,
res
);
...
...
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