1- // ===-- ThreadPlanPython.h --------------------------------------------*- C++
2- // -*-===//
1+ // ===-- ScriptedThreadPlan.h ------------------------------------*- C++ -*-===//
32//
43// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
54// See https://llvm.org/LICENSE.txt for license information.
65// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
76//
87// ===----------------------------------------------------------------------===//
98
10- #ifndef LLDB_TARGET_THREADPLANPYTHON_H
11- #define LLDB_TARGET_THREADPLANPYTHON_H
9+ #ifndef LLDB_TARGET_SCRIPTEDTHREADPLAN_H
10+ #define LLDB_TARGET_SCRIPTEDTHREADPLAN_H
1211
1312#include < string>
1413
2726
2827namespace lldb_private {
2928
30- // ThreadPlanPython:
31- //
32-
33- class ThreadPlanPython : public ThreadPlan {
29+ class ScriptedThreadPlan : public ThreadPlan {
3430public:
35- ThreadPlanPython (Thread &thread, const char *class_name,
36- const StructuredDataImpl &args_data);
31+ ScriptedThreadPlan (Thread &thread, const char *class_name,
32+ const StructuredDataImpl &args_data);
3733
3834 void GetDescription (Stream *s, lldb::DescriptionLevel level) override ;
3935
@@ -52,15 +48,14 @@ class ThreadPlanPython : public ThreadPlan {
5248 void DidPush () override ;
5349
5450 bool IsPlanStale () override ;
55-
56- bool DoWillResume (lldb::StateType resume_state, bool current_plan) override ;
5751
52+ bool DoWillResume (lldb::StateType resume_state, bool current_plan) override ;
5853
5954protected:
6055 bool DoPlanExplainsStop (Event *event_ptr) override ;
6156
6257 lldb::StateType GetPlanRunState () override ;
63-
58+
6459 ScriptInterpreter *GetScriptInterpreter ();
6560
6661private:
@@ -73,10 +68,10 @@ class ThreadPlanPython : public ThreadPlan {
7368 bool m_stop_others;
7469 lldb::ScriptedThreadPlanInterfaceSP m_interface;
7570
76- ThreadPlanPython (const ThreadPlanPython &) = delete ;
77- const ThreadPlanPython &operator =(const ThreadPlanPython &) = delete ;
71+ ScriptedThreadPlan (const ScriptedThreadPlan &) = delete ;
72+ const ScriptedThreadPlan &operator =(const ScriptedThreadPlan &) = delete ;
7873};
7974
8075} // namespace lldb_private
8176
82- #endif // LLDB_TARGET_THREADPLANPYTHON_H
77+ #endif // LLDB_TARGET_SCRIPTEDTHREADPLAN_H
0 commit comments