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
ced42c44
Commit
ced42c44
authored
Aug 21, 2023
by
Eric Pouech
Committed by
Alexandre Julliard
Aug 21, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Fix sign extension issues on 32bit compilation.
Signed-off-by:
Eric Pouech
<
epouech@codeweavers.com
>
parent
40213362
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dwarf.c
dlls/dbghelp/dwarf.c
+2
-2
No files found.
dlls/dbghelp/dwarf.c
View file @
ced42c44
...
...
@@ -3761,7 +3761,7 @@ static void apply_frame_state(const struct module* module, struct cpu_stack_walk
*
cfa
=
eval_expression
(
module
,
csw
,
(
const
unsigned
char
*
)
state
->
cfa_offset
,
context
);
break
;
default:
*
cfa
=
get_context_reg
(
module
,
csw
,
context
,
state
->
cfa_reg
)
+
state
->
cfa_offset
;
*
cfa
=
get_context_reg
(
module
,
csw
,
context
,
state
->
cfa_reg
)
+
(
LONG_PTR
)
state
->
cfa_offset
;
break
;
}
if
(
!*
cfa
)
return
;
...
...
@@ -3775,7 +3775,7 @@ static void apply_frame_state(const struct module* module, struct cpu_stack_walk
case
RULE_SAME
:
break
;
case
RULE_CFA_OFFSET
:
set_context_reg
(
module
,
csw
,
&
new_context
,
i
,
*
cfa
+
state
->
regs
[
i
],
TRUE
);
set_context_reg
(
module
,
csw
,
&
new_context
,
i
,
*
cfa
+
(
LONG_PTR
)
state
->
regs
[
i
],
TRUE
);
break
;
case
RULE_OTHER_REG
:
copy_context_reg
(
module
,
csw
,
&
new_context
,
i
,
context
,
state
->
regs
[
i
]);
...
...
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