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
3a183a42
Commit
3a183a42
authored
Jun 28, 2011
by
André Hentschel
Committed by
Alexandre Julliard
Jun 29, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Only declare deltapc for i386.
parent
32bba812
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cpu_i386.c
dlls/dbghelp/cpu_i386.c
+2
-2
No files found.
dlls/dbghelp/cpu_i386.c
View file @
3a183a42
...
...
@@ -157,8 +157,8 @@ static BOOL i386_stack_walk(struct cpu_stack_walk* csw, LPSTACKFRAME64 frame, CO
WORD
val16
;
DWORD
val32
;
BOOL
do_switch
;
unsigned
deltapc
;
#ifdef __i386__
unsigned
deltapc
;
CONTEXT
_context
;
#endif
...
...
@@ -174,6 +174,7 @@ static BOOL i386_stack_walk(struct cpu_stack_walk* csw, LPSTACKFRAME64 frame, CO
wine_dbgstr_longlong
(
curr_count
),
(
void
*
)(
DWORD_PTR
)
curr_switch
,
(
void
*
)(
DWORD_PTR
)
next_switch
);
#ifdef __i386__
/* if we're at first call (which doesn't actually unwind, it just computes ReturnPC,
* or if we're doing the first real unwind (count == 1), then we can directly use
* eip. otherwise, eip is *after* the insn that actually made the call to
...
...
@@ -184,7 +185,6 @@ static BOOL i386_stack_walk(struct cpu_stack_walk* csw, LPSTACKFRAME64 frame, CO
*/
deltapc
=
curr_count
<=
1
?
0
:
1
;
#ifdef __i386__
if
(
!
context
)
{
/* setup a pseudo context for the rest of the code (esp. unwinding) */
...
...
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