Rename target_{stop,continue}_ptid
[deliverable/binutils-gdb.git] / gdb / common / agent.c
index 854a9975683768f3f1c3cf6ab7967dc947cbf828..0c3d7a3d4b8f74527e5f77f20b39a756fe3fc124 100644 (file)
@@ -204,7 +204,7 @@ agent_run_command (int pid, const char *cmd, int len)
   DEBUG_AGENT ("agent: resumed helper thread\n");
 
   /* Resume helper thread.  */
-  target_continue_ptid (ptid);
+  target_continue_no_signal (ptid);
 
   fd = gdb_connect_sync_socket (pid);
   if (fd >= 0)
@@ -238,7 +238,7 @@ agent_run_command (int pid, const char *cmd, int len)
     {
       /* Stop thread PTID.  */
       DEBUG_AGENT ("agent: stop helper thread\n");
-      target_stop_ptid (ptid);
+      target_stop_and_wait (ptid);
     }
 
   if (fd >= 0)
This page took 0.026583 seconds and 4 git commands to generate.