From 61e7a58c0ced8df707c0ca0b85632268ace30d27 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Thu, 1 Dec 2011 23:28:38 +0000 Subject: Process IDs (lldb::pid_t) and thread IDs (lldb::tid_t) are now 64 bit. This will allow us to represent a process/thread ID using a pointer for the OS plug-ins where they might want to represent the process or thread ID using the address of the process or thread structure. llvm-svn: 145644 --- lldb/source/Core/Log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Core/Log.cpp') diff --git a/lldb/source/Core/Log.cpp b/lldb/source/Core/Log.cpp index 2809a9323b9..68a0b1469e7 100644 --- a/lldb/source/Core/Log.cpp +++ b/lldb/source/Core/Log.cpp @@ -105,7 +105,7 @@ Log::PrintfWithFlagsVarArg (uint32_t flags, const char *format, va_list args) // Add the process and thread if requested if (m_options.Test (LLDB_LOG_OPTION_PREPEND_PROC_AND_THREAD)) - header.Printf ("[%4.4x/%4.4x]: ", getpid(), Host::GetCurrentThreadID()); + header.Printf ("[%4.4x/%4.4llx]: ", getpid(), Host::GetCurrentThreadID()); // Add the process and thread if requested if (m_options.Test (LLDB_LOG_OPTION_PREPEND_THREAD_NAME)) -- cgit v1.2.3