* 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.
This commit is contained in:
Christopher Faylor
2004-03-15 15:50:20 +00:00
parent 80c74a5f38
commit c25695bbb9
4 changed files with 31 additions and 31 deletions

View File

@ -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,