summaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/functionalities/step_scripted/Steps.py
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2019-08-20 18:01:57 +0000
committerDimitry Andric <dim@FreeBSD.org>2019-08-20 18:01:57 +0000
commit88c643b6fec27eec436c8d138fee6346e92337d6 (patch)
tree82cd13b2f3cde1c9e5f79689ba4e6ba67694843f /packages/Python/lldbsuite/test/functionalities/step_scripted/Steps.py
parent94994d372d014ce4c8758b9605d63fae651bd8aa (diff)
Notes
Diffstat (limited to 'packages/Python/lldbsuite/test/functionalities/step_scripted/Steps.py')
-rw-r--r--packages/Python/lldbsuite/test/functionalities/step_scripted/Steps.py37
1 files changed, 0 insertions, 37 deletions
diff --git a/packages/Python/lldbsuite/test/functionalities/step_scripted/Steps.py b/packages/Python/lldbsuite/test/functionalities/step_scripted/Steps.py
deleted file mode 100644
index 1383a03f4647..000000000000
--- a/packages/Python/lldbsuite/test/functionalities/step_scripted/Steps.py
+++ /dev/null
@@ -1,37 +0,0 @@
-import lldb
-
-class StepWithChild:
- def __init__(self, thread_plan):
- self.thread_plan = thread_plan
- self.child_thread_plan = self.queue_child_thread_plan()
-
- def explains_stop(self, event):
- return False
-
- def should_stop(self, event):
- if not self.child_thread_plan.IsPlanComplete():
- return False
-
- self.thread_plan.SetPlanComplete(True)
-
- return True
-
- def should_step(self):
- return False
-
- def queue_child_thread_plan(self):
- return None
-
-class StepOut(StepWithChild):
- def __init__(self, thread_plan, dict):
- StepWithChild.__init__(self, thread_plan)
-
- def queue_child_thread_plan(self):
- return self.thread_plan.QueueThreadPlanForStepOut(0)
-
-class StepScripted(StepWithChild):
- def __init__(self, thread_plan, dict):
- StepWithChild.__init__(self, thread_plan)
-
- def queue_child_thread_plan(self):
- return self.thread_plan.QueueThreadPlanForStepScripted("Steps.StepOut")