[Lldb-commits] [lldb] r124112 - /lldb/trunk/source/Target/Process.cpp

Greg Clayton gclayton at apple.com
Sun Jan 23 22:30:45 PST 2011


Author: gclayton
Date: Mon Jan 24 00:30:45 2011
New Revision: 124112

URL: http://llvm.org/viewvc/llvm-project?rev=124112&view=rev
Log:
Make the logging come out all lined up and such.


Modified:
    lldb/trunk/source/Target/Process.cpp

Modified: lldb/trunk/source/Target/Process.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Process.cpp?rev=124112&r1=124111&r2=124112&view=diff
==============================================================================
--- lldb/trunk/source/Target/Process.cpp (original)
+++ lldb/trunk/source/Target/Process.cpp Mon Jan 24 00:30:45 2011
@@ -1401,7 +1401,7 @@
     addr_t allocated_addr = DoAllocateMemory (size, permissions, error);
     LogSP log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_PROCESS));
     if (log)
-        log->Printf("Process::AllocateMemory(size = %zu, permissions=%c%c%c) => 0x%16.16llx (m_stop_id = %u)", 
+        log->Printf("Process::AllocateMemory(size=%4zu, permissions=%c%c%c) => 0x%16.16llx (m_stop_id = %u)", 
                     size, 
                     permissions & ePermissionsReadable ? 'r' : '-',
                     permissions & ePermissionsWritable ? 'w' : '-',





More information about the lldb-commits mailing list