From 0e97cbcbc9d0361da6d4eda53a304c2a8c71c64f Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Tue, 8 Feb 2011 05:19:01 +0000 Subject: Add _pthread_wqthread to the list of thread stop points, and change the logging a bit. llvm-svn: 125081 --- lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp') diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index 685cbb8c227..fdf6d58818f 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -2405,6 +2405,7 @@ ProcessGDBRemote::StartNoticingNewThreads() static const char *bp_names[] = { "start_wqthread", + "_pthread_wqthread", "_pthread_start", NULL }; @@ -2451,18 +2452,18 @@ ProcessGDBRemote::StartNoticingNewThreads() 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); } } -- cgit v1.2.3