gdbserver: turn target op 'thread_stopped' into a method
[deliverable/binutils-gdb.git] / gdbserver / server.cc
index df307f5594c2ea5b521a987ec19be4cefefcbb56..f3dca8d3ce0e7c9218711abdb13bf7210085e71a 100644 (file)
@@ -3217,7 +3217,7 @@ queue_stop_reply_callback (thread_info *thread)
 {
   /* For now, assume targets that don't have this callback also don't
      manage the thread's last_status field.  */
-  if (the_target->thread_stopped == NULL)
+  if (!the_target->pt->supports_thread_stopped ())
     {
       struct vstop_notif *new_notif = new struct vstop_notif;
 
@@ -3229,7 +3229,7 @@ queue_stop_reply_callback (thread_info *thread)
     }
   else
     {
-      if (thread_stopped (thread))
+      if (target_thread_stopped (thread))
        {
          if (debug_threads)
            {
This page took 0.023526 seconds and 4 git commands to generate.