Add _pthread_wqthread to the list of thread stop points, and change the logging a bit.

git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@125081 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
index 685cbb8..fdf6d58 100644
--- a/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ b/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -2405,6 +2405,7 @@
     static const char *bp_names[] =
     {
         "start_wqthread",
+        "_pthread_wqthread",
         "_pthread_start",
         NULL
     };
@@ -2451,18 +2452,18 @@
 bool
 ProcessGDBRemote::StopNoticingNewThreads()
 {   
+    LogSP log (lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_STEP));
+    if (log)
+        log->Printf ("Disabling new thread notification breakpoint.");
     size_t num_bps = m_thread_observation_bps.size();
     if (num_bps != 0)
     {
         for (int i = 0; i < num_bps; i++)
         {
-            LogSP log (lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_STEP));
             
             lldb::BreakpointSP break_sp = m_target.GetBreakpointByID(m_thread_observation_bps[i]);
             if (break_sp)
             {
-                if (log)
-                    log->Printf ("Disabling new thread notification breakpoint.");
                 break_sp->SetEnabled(false);
             }
         }