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
eac52379
Commit
eac52379
authored
Oct 23, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernelbase: Fix fault address printing for the PE build.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5ecb8197
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
debug.c
dlls/kernelbase/debug.c
+4
-4
No files found.
dlls/kernelbase/debug.c
View file @
eac52379
...
...
@@ -462,10 +462,10 @@ static void format_exception_msg( const EXCEPTION_POINTERS *ptr, char *buffer, i
break
;
case
EXCEPTION_ACCESS_VIOLATION
:
if
(
rec
->
NumberParameters
==
2
)
len
=
snprintf
(
buffer
,
size
,
"Unhandled page fault on %s access to
0x%08lx
"
,
len
=
snprintf
(
buffer
,
size
,
"Unhandled page fault on %s access to
%p
"
,
rec
->
ExceptionInformation
[
0
]
==
EXCEPTION_WRITE_FAULT
?
"write"
:
rec
->
ExceptionInformation
[
0
]
==
EXCEPTION_EXECUTE_FAULT
?
"execute"
:
"read"
,
rec
->
ExceptionInformation
[
1
]);
(
void
*
)
rec
->
ExceptionInformation
[
1
]);
else
len
=
snprintf
(
buffer
,
size
,
"Unhandled page fault"
);
break
;
...
...
@@ -476,8 +476,8 @@ static void format_exception_msg( const EXCEPTION_POINTERS *ptr, char *buffer, i
len
=
snprintf
(
buffer
,
size
,
"Unhandled ^C"
);
break
;
case
STATUS_POSSIBLE_DEADLOCK
:
len
=
snprintf
(
buffer
,
size
,
"Critical section %
08lx
wait failed"
,
rec
->
ExceptionInformation
[
0
]);
len
=
snprintf
(
buffer
,
size
,
"Critical section %
p
wait failed"
,
(
void
*
)
rec
->
ExceptionInformation
[
0
]);
break
;
case
EXCEPTION_WINE_STUB
:
if
((
ULONG_PTR
)
rec
->
ExceptionInformation
[
1
]
>>
16
)
...
...
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