Introduce utility function find_inferior_ptid
[deliverable/binutils-gdb.git] / gdb / darwin-nat.c
index 511f37046d9e89f1e46399c23d9dcc814dc541ac..36b6021dc53fd2843bc10d8883e23d7988da005f 100644 (file)
@@ -859,7 +859,7 @@ darwin_resume (ptid_t ptid, int step, enum gdb_signal signal)
     }
   else
     {
-      struct inferior *inf = find_inferior_pid (ptid_get_pid (ptid));
+      struct inferior *inf = find_inferior_ptid (ptid);
       long tid = ptid_get_tid (ptid);
 
       /* Stop the inferior (should be useless).  */
This page took 0.024369 seconds and 4 git commands to generate.