@@ -1089,13 +1089,6 @@ class Process : public std::enable_shared_from_this<Process>,
1089
1089
// / Returns an error object.
1090
1090
virtual Status WillResume () { return Status (); }
1091
1091
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
-
1099
1092
// / Resumes all of a process's threads as configured using the Thread run
1100
1093
// / control functions.
1101
1094
// /
@@ -1111,13 +1104,9 @@ class Process : public std::enable_shared_from_this<Process>,
1111
1104
// / \see Thread:Resume()
1112
1105
// / \see Thread:Step()
1113
1106
// / \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 () {
1118
1108
return Status::FromErrorStringWithFormatv (
1119
- " error: {0} does not support reverse execution of processes" ,
1120
- GetPluginName ());
1109
+ " error: {0} does not support resuming processes" , GetPluginName ());
1121
1110
}
1122
1111
1123
1112
// / Called after resuming a process.
@@ -2687,18 +2676,6 @@ void PruneThreadPlans();
2687
2676
const AddressRange &range, size_t alignment,
2688
2677
Status &error);
2689
2678
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
-
2702
2679
protected:
2703
2680
friend class Trace ;
2704
2681
@@ -3098,7 +3075,6 @@ void PruneThreadPlans();
3098
3075
ThreadList
3099
3076
m_extended_thread_list; // /< Constituent for extended threads that may be
3100
3077
// / generated, cleared on natural stops
3101
- lldb::RunDirection m_base_direction; // /< ThreadPlanBase run direction
3102
3078
uint32_t m_extended_thread_stop_id; // /< The natural stop id when
3103
3079
// /extended_thread_list was last updated
3104
3080
QueueList
0 commit comments