[Lldb-commits] [lldb] r189695 - Clean up warnings in ProcessFreeBSD::UpdateThreadList
Ed Maste
emaste at freebsd.org
Fri Aug 30 13:41:42 PDT 2013
Author: emaste
Date: Fri Aug 30 15:41:42 2013
New Revision: 189695
URL: http://llvm.org/viewvc/llvm-project?rev=189695&view=rev
Log:
Clean up warnings in ProcessFreeBSD::UpdateThreadList
Modified:
lldb/trunk/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp
Modified: lldb/trunk/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp?rev=189695&r1=189694&r2=189695&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp (original)
+++ lldb/trunk/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp Fri Aug 30 15:41:42 2013
@@ -145,10 +145,9 @@ ProcessFreeBSD::UpdateThreadList(ThreadL
{
Log *log (ProcessPOSIXLog::GetLogIfAllCategoriesSet (POSIX_LOG_THREAD));
if (log && log->GetMask().Test(POSIX_LOG_VERBOSE))
- log->Printf ("ProcessFreeBSD::%s() (pid = %i)", __FUNCTION__, GetID());
+ log->Printf ("ProcessFreeBSD::%s() (pid = %" PRIu64 ")", __FUNCTION__, GetID());
bool has_updated = false;
- const tid_t tid = Host::GetCurrentThreadID();
const lldb::pid_t pid = GetID();
// Update the process thread list with this new thread.
// FIXME: We should be using tid, not pid.
@@ -161,7 +160,7 @@ ProcessFreeBSD::UpdateThreadList(ThreadL
}
if (log && log->GetMask().Test(POSIX_LOG_VERBOSE))
- log->Printf ("ProcessFreeBSD::%s() updated tid = %i", __FUNCTION__, pid);
+ log->Printf ("ProcessFreeBSD::%s() updated tid = %" PRIu64, __FUNCTION__, pid);
new_thread_list.AddThread(thread_sp);
More information about the lldb-commits
mailing list