Module: wine Branch: master Commit: ab9c5625ec9d6d2c7a75a3fd891eb501c7dbd2da URL: http://source.winehq.org/git/wine.git/?a=commit;h=ab9c5625ec9d6d2c7a75a3fd89...
Author: Alexandre Julliard julliard@winehq.org Date: Sat Nov 25 11:42:28 2017 +0100
ntdll: Print thread id by default in all traces.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/ntdll/debugtools.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/dlls/ntdll/debugtools.c b/dlls/ntdll/debugtools.c index eb43224..eace13f 100644 --- a/dlls/ntdll/debugtools.c +++ b/dlls/ntdll/debugtools.c @@ -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 ); }