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
30ecf517
Commit
30ecf517
authored
Feb 05, 2021
by
Rémi Bernon
Committed by
Alexandre Julliard
Feb 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Print a warning for debug print exceptions.
Signed-off-by:
Rémi Bernon
<
rbernon@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6edf3d3b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
0 deletions
+32
-0
signal_arm.c
dlls/ntdll/signal_arm.c
+8
-0
signal_arm64.c
dlls/ntdll/signal_arm64.c
+8
-0
signal_i386.c
dlls/ntdll/signal_i386.c
+8
-0
signal_x86_64.c
dlls/ntdll/signal_x86_64.c
+8
-0
No files found.
dlls/ntdll/signal_arm.c
View file @
30ecf517
...
...
@@ -164,6 +164,14 @@ NTSTATUS WINAPI KiUserExceptionDispatcher( EXCEPTION_RECORD *rec, CONTEXT *conte
{
WARN
(
"Thread %04x renamed to %s
\n
"
,
(
DWORD
)
rec
->
ExceptionInformation
[
2
],
debugstr_a
((
char
*
)
rec
->
ExceptionInformation
[
1
])
);
}
else
if
(
rec
->
ExceptionCode
==
DBG_PRINTEXCEPTION_C
)
{
WARN
(
"%s
\n
"
,
debugstr_an
((
char
*
)
rec
->
ExceptionInformation
[
1
],
rec
->
ExceptionInformation
[
0
]
-
1
)
);
}
else
if
(
rec
->
ExceptionCode
==
DBG_PRINTEXCEPTION_WIDE_C
)
{
WARN
(
"%s
\n
"
,
debugstr_wn
((
WCHAR
*
)
rec
->
ExceptionInformation
[
1
],
rec
->
ExceptionInformation
[
0
]
-
1
)
);
}
else
{
TRACE
(
" r0=%08x r1=%08x r2=%08x r3=%08x r4=%08x r5=%08x
\n
"
,
...
...
dlls/ntdll/signal_arm64.c
View file @
30ecf517
...
...
@@ -505,6 +505,14 @@ NTSTATUS WINAPI KiUserExceptionDispatcher( EXCEPTION_RECORD *rec, CONTEXT *conte
{
WARN
(
"Thread %04x renamed to %s
\n
"
,
(
DWORD
)
rec
->
ExceptionInformation
[
2
],
debugstr_a
((
char
*
)
rec
->
ExceptionInformation
[
1
])
);
}
else
if
(
rec
->
ExceptionCode
==
DBG_PRINTEXCEPTION_C
)
{
WARN
(
"%s
\n
"
,
debugstr_an
((
char
*
)
rec
->
ExceptionInformation
[
1
],
rec
->
ExceptionInformation
[
0
]
-
1
)
);
}
else
if
(
rec
->
ExceptionCode
==
DBG_PRINTEXCEPTION_WIDE_C
)
{
WARN
(
"%s
\n
"
,
debugstr_wn
((
WCHAR
*
)
rec
->
ExceptionInformation
[
1
],
rec
->
ExceptionInformation
[
0
]
-
1
)
);
}
else
{
TRACE
(
" x0=%016lx x1=%016lx x2=%016lx x3=%016lx
\n
"
,
...
...
dlls/ntdll/signal_i386.c
View file @
30ecf517
...
...
@@ -196,6 +196,14 @@ NTSTATUS WINAPI dispatch_exception( EXCEPTION_RECORD *rec, CONTEXT *context )
{
WARN
(
"Thread %04x renamed to %s
\n
"
,
(
DWORD
)
rec
->
ExceptionInformation
[
2
],
debugstr_a
((
char
*
)
rec
->
ExceptionInformation
[
1
])
);
}
else
if
(
rec
->
ExceptionCode
==
DBG_PRINTEXCEPTION_C
)
{
WARN
(
"%s
\n
"
,
debugstr_an
((
char
*
)
rec
->
ExceptionInformation
[
1
],
rec
->
ExceptionInformation
[
0
]
-
1
)
);
}
else
if
(
rec
->
ExceptionCode
==
DBG_PRINTEXCEPTION_WIDE_C
)
{
WARN
(
"%s
\n
"
,
debugstr_wn
((
WCHAR
*
)
rec
->
ExceptionInformation
[
1
],
rec
->
ExceptionInformation
[
0
]
-
1
)
);
}
else
{
TRACE
(
" eax=%08x ebx=%08x ecx=%08x edx=%08x esi=%08x edi=%08x
\n
"
,
...
...
dlls/ntdll/signal_x86_64.c
View file @
30ecf517
...
...
@@ -542,6 +542,14 @@ NTSTATUS WINAPI dispatch_exception( EXCEPTION_RECORD *rec, CONTEXT *context )
{
WARN
(
"Thread %04x renamed to %s
\n
"
,
(
DWORD
)
rec
->
ExceptionInformation
[
2
],
debugstr_a
((
char
*
)
rec
->
ExceptionInformation
[
1
])
);
}
else
if
(
rec
->
ExceptionCode
==
DBG_PRINTEXCEPTION_C
)
{
WARN
(
"%s
\n
"
,
debugstr_an
((
char
*
)
rec
->
ExceptionInformation
[
1
],
rec
->
ExceptionInformation
[
0
]
-
1
)
);
}
else
if
(
rec
->
ExceptionCode
==
DBG_PRINTEXCEPTION_WIDE_C
)
{
WARN
(
"%s
\n
"
,
debugstr_wn
((
WCHAR
*
)
rec
->
ExceptionInformation
[
1
],
rec
->
ExceptionInformation
[
0
]
-
1
)
);
}
else
{
TRACE
(
" rax=%016lx rbx=%016lx rcx=%016lx rdx=%016lx
\n
"
,
...
...
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