@@ -1089,13 +1089,6 @@ class Process : public std::enable_shared_from_this<Process>,
10891089 // / Returns an error object.
10901090 virtual Status WillResume () { return Status (); }
10911091
1092- // / Reports whether this process supports reverse execution.
1093- // /
1094- // / \return
1095- // / Returns true if the process supports reverse execution (at least
1096- // / under some circumstances).
1097- virtual bool SupportsReverseDirection () { return false ; }
1098-
10991092 // / Resumes all of a process's threads as configured using the Thread run
11001093 // / control functions.
11011094 // /
@@ -1111,13 +1104,9 @@ class Process : public std::enable_shared_from_this<Process>,
11111104 // / \see Thread:Resume()
11121105 // / \see Thread:Step()
11131106 // / \see Thread:Suspend()
1114- virtual Status DoResume (lldb::RunDirection direction) {
1115- if (direction == lldb::RunDirection::eRunForward)
1116- return Status::FromErrorStringWithFormatv (
1117- " error: {0} does not support resuming processes" , GetPluginName ());
1107+ virtual Status DoResume () {
11181108 return Status::FromErrorStringWithFormatv (
1119- " error: {0} does not support reverse execution of processes" ,
1120- GetPluginName ());
1109+ " error: {0} does not support resuming processes" , GetPluginName ());
11211110 }
11221111
11231112 // / Called after resuming a process.
@@ -2687,18 +2676,6 @@ void PruneThreadPlans();
26872676 const AddressRange &range, size_t alignment,
26882677 Status &error);
26892678
2690- // / Get the base run direction for the process.
2691- // / The base direction is the direction the process will execute in
2692- // / (forward or backward) if no thread plan overrides the direction.
2693- lldb::RunDirection GetBaseDirection () const { return m_base_direction; }
2694- // / Set the base run direction for the process.
2695- // / As a side-effect, if this changes the base direction, then we
2696- // / discard all non-base thread plans to ensure that when execution resumes
2697- // / we definitely execute in the requested direction.
2698- // / FIXME: this is overkill. In some situations ensuring the latter
2699- // / would not require discarding all non-base thread plans.
2700- void SetBaseDirection (lldb::RunDirection direction);
2701-
27022679protected:
27032680 friend class Trace ;
27042681
@@ -3098,7 +3075,6 @@ void PruneThreadPlans();
30983075 ThreadList
30993076 m_extended_thread_list; // /< Constituent for extended threads that may be
31003077 // / generated, cleared on natural stops
3101- lldb::RunDirection m_base_direction; // /< ThreadPlanBase run direction
31023078 uint32_t m_extended_thread_stop_id; // /< The natural stop id when
31033079 // /extended_thread_list was last updated
31043080 QueueList
0 commit comments