diff options
author | Christopher Faylor <me@cgf.cx> | 2004-03-15 15:50:20 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-03-15 15:50:20 +0000 |
commit | c25695bbb9c79595400c2700b3d5e05342108bf1 (patch) | |
tree | e81e6d040fe8b4df5a43a95af608fca63cd1bcbe /winsup/cygwin/exceptions.cc | |
parent | 80c74a5f38a4b1dfe3eaf072cc5ac6f5379d9a5d (diff) | |
download | cygnal-c25695bbb9c79595400c2700b3d5e05342108bf1.tar.gz cygnal-c25695bbb9c79595400c2700b3d5e05342108bf1.tar.bz2 cygnal-c25695bbb9c79595400c2700b3d5e05342108bf1.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r-- | winsup/cygwin/exceptions.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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, |