summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface/SBProcess.i
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2013-01-08 23:22:42 +0000
committerJim Ingham <jingham@apple.com>2013-01-08 23:22:42 +0000
commitbf2956a2f8e237144be7893c7934d158b2b31cd4 (patch)
tree1bcd62e9666ed54c809873727f9b352ffad8e145 /lldb/scripts/Python/interface/SBProcess.i
parentb68f7b2a7737fcf105b210f06cf8b4109d5b33ef (diff)
downloadbcm5719-llvm-bf2956a2f8e237144be7893c7934d158b2b31cd4.tar.gz
bcm5719-llvm-bf2956a2f8e237144be7893c7934d158b2b31cd4.zip
Add an SBProcess API to get the current StopID, either considering or ignoring stops caused by expression
evaluation. <rdar://problem/12968562> llvm-svn: 171914
Diffstat (limited to 'lldb/scripts/Python/interface/SBProcess.i')
-rw-r--r--lldb/scripts/Python/interface/SBProcess.i10
1 files changed, 10 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBProcess.i b/lldb/scripts/Python/interface/SBProcess.i
index 99ba6cf6628..a7ebb0a33c5 100644
--- a/lldb/scripts/Python/interface/SBProcess.i
+++ b/lldb/scripts/Python/interface/SBProcess.i
@@ -216,6 +216,16 @@ public:
lldb::SBError
Signal (int signal);
+ %feature("docstring", "
+ Returns a stop id that will increase every time the process executes. If
+ include_expression_stops is true, then stops caused by expression evaluation
+ will cause the returned value to increase, otherwise the counter returned will
+ only increase when execution is continued explicitly by the user. Note, the value
+ will always increase, but may increase by more than one per stop.
+ ") GetStopID;
+ uint32_t
+ GetStopID(bool include_expression_stops = false);
+
void
SendAsyncInterrupt();
OpenPOWER on IntegriCloud