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
15d30f84
Commit
15d30f84
authored
Jun 30, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Use the correct context when fetching the frame state for backtraces.
parent
2286267a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
stack.c
programs/winedbg/stack.c
+3
-3
No files found.
programs/winedbg/stack.c
View file @
15d30f84
...
...
@@ -220,9 +220,9 @@ unsigned stack_fetch_frames(const CONTEXT* _ctx)
dbg_curr_thread
->
frames
=
NULL
;
memset
(
&
sf
,
0
,
sizeof
(
sf
));
memory_get_current_frame
(
&
sf
.
AddrFrame
);
memory_get_current_pc
(
&
sf
.
AddrPC
);
memory_get_current_stack
(
&
sf
.
AddrStack
);
be_cpu
->
get_addr
(
dbg_curr_thread
->
handle
,
&
ctx
,
be_cpu_addr_frame
,
&
sf
.
AddrFrame
);
be_cpu
->
get_addr
(
dbg_curr_thread
->
handle
,
&
ctx
,
be_cpu_addr_pc
,
&
sf
.
AddrPC
);
be_cpu
->
get_addr
(
dbg_curr_thread
->
handle
,
&
ctx
,
be_cpu_addr_stack
,
&
sf
.
AddrStack
);
/* don't confuse StackWalk by passing in inconsistent addresses */
if
((
sf
.
AddrPC
.
Mode
==
AddrModeFlat
)
&&
(
sf
.
AddrFrame
.
Mode
!=
AddrModeFlat
))
...
...
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