summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/step_scripted/main.c
diff options
context:
space:
mode:
authorAleksandr Urakov <aleksandr.urakov@jetbrains.com>2018-10-25 08:27:42 +0000
committerAleksandr Urakov <aleksandr.urakov@jetbrains.com>2018-10-25 08:27:42 +0000
commitc1c0fac76595da4a46db30da68e8444b9d1e3521 (patch)
tree9f887ff9a3d2d913ceb8c782934d0fd9215ee185 /lldb/packages/Python/lldbsuite/test/functionalities/step_scripted/main.c
parentb4b6ec01c6d1c6f15da65c37be9ffa2482712e7f (diff)
downloadbcm5719-llvm-c1c0fac76595da4a46db30da68e8444b9d1e3521.tar.gz
bcm5719-llvm-c1c0fac76595da4a46db30da68e8444b9d1e3521.zip
[API] Extend the `SBThreadPlan` interface
Summary: This patch extends the `SBThreadPlan` to allow retrieving of thread plans for scripted steps. Reviewers: labath, zturner, jingham Reviewed By: jingham Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D53361 llvm-svn: 345247
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/step_scripted/main.c')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/step_scripted/main.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/step_scripted/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/step_scripted/main.c
new file mode 100644
index 00000000000..88b3c17125d
--- /dev/null
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/step_scripted/main.c
@@ -0,0 +1,10 @@
+#include <stdio.h>
+
+void foo() {
+ printf("Set a breakpoint here.\n");
+}
+
+int main() {
+ foo();
+ return 0;
+}
OpenPOWER on IntegriCloud