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
5f299d6f
Commit
5f299d6f
authored
Jun 19, 2006
by
Ge van Geldorp
Committed by
Alexandre Julliard
Jun 19, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Fix compilation for x86_64.
parent
5fb24924
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
minidump.c
dlls/dbghelp/minidump.c
+8
-5
No files found.
dlls/dbghelp/minidump.c
View file @
5f299d6f
...
...
@@ -166,18 +166,21 @@ static BOOL fetch_thread_info(struct dump_context* dc, int thd_idx,
mdThd
->
Stack
.
StartOfMemoryRange
=
(
ctx
->
Esp
-
4
);
else
mdThd
->
Stack
.
StartOfMemoryRange
=
(
ULONG_PTR
)
tib
.
StackLimit
;
mdThd
->
Stack
.
Memory
.
DataSize
=
(
ULONG_PTR
)
tib
.
StackBase
-
mdThd
->
Stack
.
StartOfMemoryRange
;
#elif defined(__powerpc__)
if
(
ctx
->
Iar
)
mdThd
->
Stack
.
StartOfMemoryRange
=
ctx
->
Iar
-
4
;
else
mdThd
->
Stack
.
StartOfMemoryRange
=
(
ULONG_PTR
)
tib
.
StackLimit
;
mdThd
->
Stack
.
Memory
.
DataSize
=
(
ULONG_PTR
)
tib
.
StackBase
-
mdThd
->
Stack
.
StartOfMemoryRange
;
#elif defined(__x86_64__)
if
(
ctx
->
Rsp
)
mdThd
->
Stack
.
StartOfMemoryRange
=
(
ctx
->
Rsp
-
8
);
else
mdThd
->
Stack
.
StartOfMemoryRange
=
(
ULONG_PTR
)
tib
.
StackLimit
;
#else
#error unsupported CPU
#error unsupported CPU
#endif
mdThd
->
Stack
.
Memory
.
DataSize
=
(
ULONG_PTR
)
tib
.
StackBase
-
mdThd
->
Stack
.
StartOfMemoryRange
;
}
ResumeThread
(
hThread
);
}
...
...
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