diff options
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote')
| -rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 6 | ||||
| -rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index e1f86a685a0..7e2ad1c3b22 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -2539,7 +2539,7 @@ ProcessGDBRemote::StartNoticingNewThreads() lldb::BreakpointSP break_sp = m_target.GetBreakpointByID(m_thread_observation_bps[i]); if (break_sp) { - if (log) + if (log && log->GetVerbose()) log->Printf("Enabled noticing new thread breakpoint."); break_sp->SetEnabled(true); } @@ -2552,7 +2552,7 @@ ProcessGDBRemote::StartNoticingNewThreads() Breakpoint *breakpoint = m_target.CreateBreakpoint (NULL, NULL, bp_names[i], eFunctionNameTypeFull, true).get(); if (breakpoint) { - if (log) + if (log && log->GetVerbose()) log->Printf("Successfully created new thread notification breakpoint at \"%s\".", bp_names[i]); m_thread_observation_bps.push_back(breakpoint->GetID()); breakpoint->SetCallback (ProcessGDBRemote::NewThreadNotifyBreakpointHit, this, true); @@ -2573,7 +2573,7 @@ bool ProcessGDBRemote::StopNoticingNewThreads() { LogSP log (lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_STEP)); - if (log) + if (log && log->GetVerbose()) log->Printf ("Disabling new thread notification breakpoint."); size_t num_bps = m_thread_observation_bps.size(); if (num_bps != 0) diff --git a/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp index 2f9ee0fd5f2..7fe8cdeed3e 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp @@ -75,7 +75,7 @@ ThreadGDBRemote::WillResume (StateType resume_state) Thread::WillResume(resume_state); int signo = GetResumeSignal(); - lldb::LogSP log(lldb_private::GetLogIfAnyCategoriesSet (LIBLLDB_LOG_STEP)); + lldb::LogSP log(lldb_private::GetLogIfAnyCategoriesSet (GDBR_LOG_THREAD)); if (log) log->Printf ("Resuming thread: %4.4x with state: %s.", GetID(), StateAsCString(resume_state)); |

