diff options
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r-- | winsup/cygwin/exceptions.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index 1bca810dd..8e00e072f 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -393,7 +393,7 @@ try_to_debug (bool waitloop) if (!waitloop) return 1; SetThreadPriority (hMainThread, THREAD_PRIORITY_IDLE); - while (!IsDebuggerPresent ()) + while (!being_debugged ()) /* spin */; Sleep (4000); small_printf ("*** continuing from debugger call\n"); |