From c25695bbb9c79595400c2700b3d5e05342108bf1 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 15 Mar 2004 15:50:20 +0000 Subject: * exceptions.cc (try_to_debug): Report on tid of caller. * sync.cc (muto::acquire): Fix some races. * sync.h (muto): Expose some fields for easier debugging. --- winsup/cygwin/exceptions.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/exceptions.cc') diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index 5ad6642a6..3b7be7042 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -349,8 +349,8 @@ try_to_debug (bool waitloop) } } - console_printf ("*** starting debugger for pid %u\n", - cygwin_pid (GetCurrentProcessId ())); + console_printf ("*** starting debugger for pid %u, tid %u\n", + cygwin_pid (GetCurrentProcessId ()), GetCurrentThreadId ()); BOOL dbg; dbg = CreateProcess (NULL, debugger_command, -- cgit v1.2.3