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
ec14c220
Commit
ec14c220
authored
Nov 25, 2017
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libwine: Print thread id by default in all traces.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ab9c5625
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
debug.c
libs/wine/debug.c
+1
-3
No files found.
libs/wine/debug.c
View file @
ec14c220
...
...
@@ -34,7 +34,6 @@
#include "wine/library.h"
#if defined(__MINGW32__) || defined(_MSC_VER)
WINE_DECLARE_DEBUG_CHANNEL
(
tid
);
WINE_DECLARE_DEBUG_CHANNEL
(
pid
);
#endif
...
...
@@ -410,8 +409,7 @@ static int default_dbg_vlog( enum __wine_debug_class cls, struct __wine_debug_ch
#if defined(__MINGW32__) || defined(_MSC_VER)
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
()
);
#endif
if
(
cls
<
sizeof
(
debug_classes
)
/
sizeof
(
debug_classes
[
0
]))
ret
+=
wine_dbg_printf
(
"%s:%s:%s "
,
debug_classes
[
cls
],
channel
->
name
,
func
);
...
...
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