From 914f4e7092ff922901b2fb5d7a9b7103f8f616ea Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Fri, 28 Mar 2014 21:58:28 +0000 Subject: Add the ability from the SB API's to set the "one thread" timeout for expression evaluations that try one and then all threads. llvm-svn: 205060 --- lldb/scripts/Python/interface/SBExpressionOptions.i | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lldb/scripts/Python/interface') diff --git a/lldb/scripts/Python/interface/SBExpressionOptions.i b/lldb/scripts/Python/interface/SBExpressionOptions.i index 28541084197..46f464f2c58 100644 --- a/lldb/scripts/Python/interface/SBExpressionOptions.i +++ b/lldb/scripts/Python/interface/SBExpressionOptions.i @@ -64,6 +64,13 @@ public: void SetTimeoutInMicroSeconds (uint32_t timeout = 0); + uint32_t + GetOneThreadTimeoutInMicroSeconds () const; + + %feature("docstring", "Sets the timeout in microseconds to run the expression on one thread before either timing out or trying all threads.") SetTimeoutInMicroSeconds; + void + SetOneThreadTimeoutInMicroSeconds (uint32_t timeout = 0); + bool GetTryAllThreads () const; -- cgit v1.2.3