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
9a28dbfb
Commit
9a28dbfb
authored
Sep 18, 2023
by
Eric Pouech
Committed by
Alexandre Julliard
Sep 18, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Check that dwarf unwinder did actually unwind.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=55560
Signed-off-by:
Eric Pouech
<
epouech@codeweavers.com
>
parent
80a9c0ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
cpu_x86_64.c
dlls/dbghelp/cpu_x86_64.c
+3
-2
No files found.
dlls/dbghelp/cpu_x86_64.c
View file @
9a28dbfb
...
@@ -611,7 +611,8 @@ static BOOL fetch_next_frame(struct cpu_stack_walk *csw, union ctx *pcontext,
...
@@ -611,7 +611,8 @@ static BOOL fetch_next_frame(struct cpu_stack_walk *csw, union ctx *pcontext,
DWORD64
cfa
;
DWORD64
cfa
;
RUNTIME_FUNCTION
*
rtf
;
RUNTIME_FUNCTION
*
rtf
;
DWORD64
base
;
DWORD64
base
;
CONTEXT
*
context
=
&
pcontext
->
ctx
;
CONTEXT
*
context
=
&
pcontext
->
ctx
;
DWORD64
input_Rip
=
context
->
Rip
;
if
(
!
curr_pc
||
!
(
base
=
sw_module_base
(
csw
,
curr_pc
)))
return
FALSE
;
if
(
!
curr_pc
||
!
(
base
=
sw_module_base
(
csw
,
curr_pc
)))
return
FALSE
;
rtf
=
sw_table_access
(
csw
,
curr_pc
);
rtf
=
sw_table_access
(
csw
,
curr_pc
);
...
@@ -620,7 +621,7 @@ static BOOL fetch_next_frame(struct cpu_stack_walk *csw, union ctx *pcontext,
...
@@ -620,7 +621,7 @@ static BOOL fetch_next_frame(struct cpu_stack_walk *csw, union ctx *pcontext,
{
{
return
interpret_function_table_entry
(
csw
,
context
,
rtf
,
base
);
return
interpret_function_table_entry
(
csw
,
context
,
rtf
,
base
);
}
}
else
if
(
dwarf2_virtual_unwind
(
csw
,
curr_pc
,
pcontext
,
&
cfa
))
else
if
(
dwarf2_virtual_unwind
(
csw
,
curr_pc
,
pcontext
,
&
cfa
)
&&
input_Rip
!=
context
->
Rip
)
{
{
context
->
Rsp
=
cfa
;
context
->
Rsp
=
cfa
;
TRACE
(
"next function rip=%016Ix
\n
"
,
context
->
Rip
);
TRACE
(
"next function rip=%016Ix
\n
"
,
context
->
Rip
);
...
...
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