diff options
4 files changed, 8 insertions, 0 deletions
diff --git a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp index 0745f7da1e4..11c197bd4e2 100644 --- a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp +++ b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp @@ -352,6 +352,8 @@ AppleGetItemInfoHandler::GetItemInfo (Thread &thread, uint64_t item, addr_t page options.SetUnwindOnError (true); options.SetIgnoreBreakpoints (true); options.SetStopOthers (true); + options.SetTimeoutUsec(500000); + options.SetTryAllThreads (false); thread.CalculateExecutionContext (exe_ctx); if (m_get_item_info_function == NULL) diff --git a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp index 47f44a5c020..444de2d9b44 100644 --- a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp +++ b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp @@ -358,6 +358,8 @@ AppleGetPendingItemsHandler::GetPendingItems (Thread &thread, addr_t queue, addr options.SetUnwindOnError (true); options.SetIgnoreBreakpoints (true); options.SetStopOthers (true); + options.SetTimeoutUsec(500000); + options.SetTryAllThreads (false); thread.CalculateExecutionContext (exe_ctx); if (m_get_pending_items_function == NULL) diff --git a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp index 70f435ca41e..c9f6e127ec5 100644 --- a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp +++ b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp @@ -363,6 +363,8 @@ AppleGetQueuesHandler::GetCurrentQueues (Thread &thread, addr_t page_to_free, ui options.SetUnwindOnError (true); options.SetIgnoreBreakpoints (true); options.SetStopOthers (true); + options.SetTimeoutUsec(500000); + options.SetTryAllThreads (false); thread.CalculateExecutionContext (exe_ctx); ExecutionResults func_call_ret; diff --git a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp index 47c883e72dc..2114af6bba2 100644 --- a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp +++ b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp @@ -355,6 +355,8 @@ AppleGetThreadItemInfoHandler::GetThreadItemInfo (Thread &thread, tid_t thread_i options.SetUnwindOnError (true); options.SetIgnoreBreakpoints (true); options.SetStopOthers (true); + options.SetTimeoutUsec(500000); + options.SetTryAllThreads (false); thread.CalculateExecutionContext (exe_ctx); if (m_get_thread_item_info_function == NULL) |