gdbserver: turn target op 'resume' into a method
[deliverable/binutils-gdb.git] / gdbserver / target.h
index 923c92c7cb8d4085b6f365904dc8afe342fdd4b5..f64009f7521fea929295d58a4887c6c1957d49ca 100644 (file)
@@ -70,10 +70,6 @@ class process_target;
    shared code.  */
 struct process_stratum_target
 {
-  /* Resume the inferior process.  */
-
-  void (*resume) (struct thread_resume *resume_info, size_t n);
-
   /* Wait for the inferior process or thread to change state.  Store
      status through argument pointer STATUS.
 
@@ -483,6 +479,9 @@ public:
 
   /* Return true iff the thread with process ID PID is alive.  */
   virtual bool thread_alive (ptid_t pid) = 0;
+
+  /* Resume the inferior process.  */
+  virtual void resume (thread_resume *resume_info, size_t n) = 0;
 };
 
 extern process_stratum_target *the_target;
This page took 0.023314 seconds and 4 git commands to generate.