From c1c0fac76595da4a46db30da68e8444b9d1e3521 Mon Sep 17 00:00:00 2001 From: Aleksandr Urakov Date: Thu, 25 Oct 2018 08:27:42 +0000 Subject: [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 --- .../Python/lldbsuite/test/functionalities/step_scripted/main.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 lldb/packages/Python/lldbsuite/test/functionalities/step_scripted/main.c (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/step_scripted/main.c') 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 + +void foo() { + printf("Set a breakpoint here.\n"); +} + +int main() { + foo(); + return 0; +} -- cgit v1.2.3