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
5f74cb94
Commit
5f74cb94
authored
Mar 22, 2023
by
Brendan Shanks
Committed by
Alexandre Julliard
Mar 23, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Print correct thread rename trace when using current thread ID with exception method.
parent
c1dd7d6f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
signal_arm.c
dlls/ntdll/signal_arm.c
+1
-1
signal_arm64.c
dlls/ntdll/signal_arm64.c
+1
-1
signal_i386.c
dlls/ntdll/signal_i386.c
+1
-1
signal_x86_64.c
dlls/ntdll/signal_x86_64.c
+1
-1
No files found.
dlls/ntdll/signal_arm.c
View file @
5f74cb94
...
...
@@ -478,7 +478,7 @@ NTSTATUS WINAPI KiUserExceptionDispatcher( EXCEPTION_RECORD *rec, CONTEXT *conte
}
else
if
(
rec
->
ExceptionCode
==
EXCEPTION_WINE_NAME_THREAD
&&
rec
->
ExceptionInformation
[
0
]
==
0x1000
)
{
if
((
DWORD
)
rec
->
ExceptionInformation
[
2
]
==
-
1
)
if
((
DWORD
)
rec
->
ExceptionInformation
[
2
]
==
-
1
||
(
DWORD
)
rec
->
ExceptionInformation
[
2
]
==
GetCurrentThreadId
()
)
WARN_
(
threadname
)(
"Thread renamed to %s
\n
"
,
debugstr_a
((
char
*
)
rec
->
ExceptionInformation
[
1
])
);
else
WARN_
(
threadname
)(
"Thread ID %04lx renamed to %s
\n
"
,
(
DWORD
)
rec
->
ExceptionInformation
[
2
],
...
...
dlls/ntdll/signal_arm64.c
View file @
5f74cb94
...
...
@@ -514,7 +514,7 @@ NTSTATUS WINAPI KiUserExceptionDispatcher( EXCEPTION_RECORD *rec, CONTEXT *conte
}
else
if
(
rec
->
ExceptionCode
==
EXCEPTION_WINE_NAME_THREAD
&&
rec
->
ExceptionInformation
[
0
]
==
0x1000
)
{
if
((
DWORD
)
rec
->
ExceptionInformation
[
2
]
==
-
1
)
if
((
DWORD
)
rec
->
ExceptionInformation
[
2
]
==
-
1
||
(
DWORD
)
rec
->
ExceptionInformation
[
2
]
==
GetCurrentThreadId
()
)
WARN_
(
threadname
)(
"Thread renamed to %s
\n
"
,
debugstr_a
((
char
*
)
rec
->
ExceptionInformation
[
1
])
);
else
WARN_
(
threadname
)(
"Thread ID %04lx renamed to %s
\n
"
,
(
DWORD
)
rec
->
ExceptionInformation
[
2
],
...
...
dlls/ntdll/signal_i386.c
View file @
5f74cb94
...
...
@@ -192,7 +192,7 @@ NTSTATUS WINAPI dispatch_exception( EXCEPTION_RECORD *rec, CONTEXT *context )
}
else
if
(
rec
->
ExceptionCode
==
EXCEPTION_WINE_NAME_THREAD
&&
rec
->
ExceptionInformation
[
0
]
==
0x1000
)
{
if
((
DWORD
)
rec
->
ExceptionInformation
[
2
]
==
-
1
)
if
((
DWORD
)
rec
->
ExceptionInformation
[
2
]
==
-
1
||
(
DWORD
)
rec
->
ExceptionInformation
[
2
]
==
GetCurrentThreadId
()
)
WARN_
(
threadname
)(
"Thread renamed to %s
\n
"
,
debugstr_a
((
char
*
)
rec
->
ExceptionInformation
[
1
])
);
else
WARN_
(
threadname
)(
"Thread ID %04lx renamed to %s
\n
"
,
(
DWORD
)
rec
->
ExceptionInformation
[
2
],
...
...
dlls/ntdll/signal_x86_64.c
View file @
5f74cb94
...
...
@@ -528,7 +528,7 @@ NTSTATUS WINAPI dispatch_exception( EXCEPTION_RECORD *rec, CONTEXT *context )
}
else
if
(
rec
->
ExceptionCode
==
EXCEPTION_WINE_NAME_THREAD
&&
rec
->
ExceptionInformation
[
0
]
==
0x1000
)
{
if
((
DWORD
)
rec
->
ExceptionInformation
[
2
]
==
-
1
)
if
((
DWORD
)
rec
->
ExceptionInformation
[
2
]
==
-
1
||
(
DWORD
)
rec
->
ExceptionInformation
[
2
]
==
GetCurrentThreadId
()
)
WARN_
(
threadname
)(
"Thread renamed to %s
\n
"
,
debugstr_a
((
char
*
)
rec
->
ExceptionInformation
[
1
])
);
else
WARN_
(
threadname
)(
"Thread ID %04lx renamed to %s
\n
"
,
(
DWORD
)
rec
->
ExceptionInformation
[
2
],
...
...
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