Remove extra newline from log Printf

Clean up this one specifically, as it has the effect of double-spacing
the list of thread stop reasons, and substantially bloats the log file
when opening a core with hundreds of threads.

There are other cases of extra newlines.  Some of them do increase
readability, so avoid a general sweep for now.

llvm-svn: 211655
This commit is contained in:
Ed Maste 2014-06-25 00:38:35 +00:00
parent 6d8d22ae40
commit 2bc7643d10
1 changed files with 1 additions and 1 deletions

View File

@ -500,7 +500,7 @@ Thread::SetStopInfo (const lldb::StopInfoSP &stop_info_sp)
m_stop_info_stop_id = UINT32_MAX;
Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_THREAD));
if (log)
log->Printf("%p: tid = 0x%" PRIx64 ": stop info = %s (stop_id = %u)\n",
log->Printf("%p: tid = 0x%" PRIx64 ": stop info = %s (stop_id = %u)",
static_cast<void*>(this), GetID(),
stop_info_sp ? stop_info_sp->GetDescription() : "<NULL>",
m_stop_info_stop_id);