[Lldb-commits] [lldb] r178955 - Add optional LOG_TASK logging for MachVMMemory::PageSize when the call succeeds, too.
Jason Molenda
jmolenda at apple.com
Sat Apr 6 00:28:38 PDT 2013
Author: jmolenda
Date: Sat Apr 6 02:28:38 2013
New Revision: 178955
URL: http://llvm.org/viewvc/llvm-project?rev=178955&view=rev
Log:
Add optional LOG_TASK logging for MachVMMemory::PageSize when the call succeeds, too.
Modified:
lldb/trunk/tools/debugserver/source/MacOSX/MachVMMemory.cpp
Modified: lldb/trunk/tools/debugserver/source/MacOSX/MachVMMemory.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/MacOSX/MachVMMemory.cpp?rev=178955&r1=178954&r2=178955&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/MacOSX/MachVMMemory.cpp (original)
+++ lldb/trunk/tools/debugserver/source/MacOSX/MachVMMemory.cpp Sat Apr 6 02:28:38 2013
@@ -42,6 +42,7 @@ MachVMMemory::PageSize(task_t task)
kr = task_info (task, TASK_VM_INFO, (task_info_t) &vm_info, &info_count);
if (kr == KERN_SUCCESS)
{
+ DNBLogThreadedIf(LOG_TASK, "MachVMMemory::PageSize task_info returned page size of 0x%x", (int) vm_info.page_size);
return vm_info.page_size;
}
else
More information about the lldb-commits
mailing list