diff options
author | Jim Ingham <jingham@apple.com> | 2011-02-08 05:19:01 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2011-02-08 05:19:01 +0000 |
commit | 0e97cbcbc9d0361da6d4eda53a304c2a8c71c64f (patch) | |
tree | 81a97a587ec632e10595570740a8846e7832daa9 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | c4f4f72137b728213fc5cded91b162e356dc667f (diff) | |
download | bcm5719-llvm-0e97cbcbc9d0361da6d4eda53a304c2a8c71c64f.tar.gz bcm5719-llvm-0e97cbcbc9d0361da6d4eda53a304c2a8c71c64f.zip |
Add _pthread_wqthread to the list of thread stop points, and change the logging a bit.
llvm-svn: 125081
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
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); } } |