* 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:
@ -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,
|
||||
|
Reference in New Issue
Block a user