diff options
author | Pavel Labath <labath@google.com> | 2017-02-06 19:31:05 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2017-02-06 19:31:05 +0000 |
commit | aafe053c5311df904a337f8782b6122f052e84d2 (patch) | |
tree | 8593b21617fe9f6fbbd73a9f983393b784b900f1 /lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp | |
parent | 2f8d5739b539d0bdabef03d017e1a3ed80bd1dbd (diff) | |
download | bcm5719-llvm-aafe053c5311df904a337f8782b6122f052e84d2.tar.gz bcm5719-llvm-aafe053c5311df904a337f8782b6122f052e84d2.zip |
Remove the verbose category in the posix channel
replace by LLDB_LOGV
llvm-svn: 294223
Diffstat (limited to 'lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp b/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp index 0b09296cb7f..18122c9df89 100644 --- a/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp +++ b/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp @@ -53,8 +53,7 @@ FreeBSDThread::FreeBSDThread(Process &process, lldb::tid_t tid) : Thread(process, tid), m_frame_ap(), m_breakpoint(), m_thread_name_valid(false), m_thread_name(), m_posix_thread(NULL) { Log *log(ProcessPOSIXLog::GetLogIfAllCategoriesSet(POSIX_LOG_THREAD)); - if (log && log->GetMask().Test(POSIX_LOG_VERBOSE)) - log->Printf("FreeBSDThread::%s (tid = %" PRIi64 ")", __FUNCTION__, tid); + LLDB_LOGV(log, "tid = {0}", tid); // Set the current watchpoints for this thread. Target &target = GetProcess()->GetTarget(); @@ -215,8 +214,7 @@ FreeBSDThread::CreateRegisterContextForFrame(lldb_private::StackFrame *frame) { uint32_t concrete_frame_idx = 0; Log *log(ProcessPOSIXLog::GetLogIfAllCategoriesSet(POSIX_LOG_THREAD)); - if (log && log->GetMask().Test(POSIX_LOG_VERBOSE)) - log->Printf("FreeBSDThread::%s ()", __FUNCTION__); + LLDB_LOGV(log, "called"); if (frame) concrete_frame_idx = frame->GetConcreteFrameIndex(); |