From 2a6c252df2f3bd49a1fb4fc58c4608ccdb6d79a8 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Sat, 15 Feb 2014 00:20:40 +0000 Subject: Add some additional logging to the Mac OS X SystemRuntime. Fix a bug where lldb could free an inferior's vm_page. llvm-svn: 201447 --- .../Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp') diff --git a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp index 45be3439d2a..5ba8ac2bf51 100644 --- a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp +++ b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp @@ -398,5 +398,8 @@ AppleGetPendingItemsHandler::GetPendingItems (Thread &thread, addr_t queue, addr return return_value; } + if (log) + log->Printf ("AppleGetPendingItemsHandler called __introspection_dispatch_queue_get_pending_items (page_to_free == 0x%" PRIx64 ", size = %" PRId64 "), returned page is at 0x%" PRIx64 ", size %" PRId64 ", count = %" PRId64, page_to_free, page_to_free_size, return_value.items_buffer_ptr, return_value.items_buffer_ptr, return_value.count); + return return_value; } -- cgit v1.2.3