diff options
| author | Jim Ingham <jingham@apple.com> | 2011-10-15 00:21:37 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2011-10-15 00:21:37 +0000 |
| commit | 37cfeab3c0c86ab0c2eb1889af8a6484ad339400 (patch) | |
| tree | 2b97c957471fe81fa7e478fe61b38264f34f8da5 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
| parent | 9e0a5b39002263f889f90d0ce8d74afeadbeb47e (diff) | |
| download | llvm-37cfeab3c0c86ab0c2eb1889af8a6484ad339400.zip llvm-37cfeab3c0c86ab0c2eb1889af8a6484ad339400.tar.gz llvm-37cfeab3c0c86ab0c2eb1889af8a6484ad339400.tar.bz2 | |
Quiet the default "log enable lldb step" output down a little bit.
llvm-svn: 142024
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
| -rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index e1f86a6..7e2ad1c 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) |
