Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
ab9c5625
Commit
ab9c5625
authored
Nov 25, 2017
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Print thread id by default in all traces.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c570224a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
debugtools.c
dlls/ntdll/debugtools.c
+1
-3
No files found.
dlls/ntdll/debugtools.c
View file @
ab9c5625
...
...
@@ -38,7 +38,6 @@
#include "winternl.h"
#include "ntdll_misc.h"
WINE_DECLARE_DEBUG_CHANNEL
(
tid
);
WINE_DECLARE_DEBUG_CHANNEL
(
pid
);
WINE_DECLARE_DEBUG_CHANNEL
(
timestamp
);
...
...
@@ -173,8 +172,7 @@ static int NTDLL_dbg_vlog( enum __wine_debug_class cls, struct __wine_debug_chan
}
if
(
TRACE_ON
(
pid
))
ret
+=
wine_dbg_printf
(
"%04x:"
,
GetCurrentProcessId
()
);
if
(
TRACE_ON
(
tid
))
ret
+=
wine_dbg_printf
(
"%04x:"
,
GetCurrentThreadId
()
);
ret
+=
wine_dbg_printf
(
"%04x:"
,
GetCurrentThreadId
()
);
if
(
cls
<
sizeof
(
classes
)
/
sizeof
(
classes
[
0
]))
ret
+=
wine_dbg_printf
(
"%s:%s:%s "
,
classes
[
cls
],
channel
->
name
,
function
);
}
...
...
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