]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/fork-child.c
Remove pid_to_ptid
[thirdparty/binutils-gdb.git] / gdb / fork-child.c
index e1719a09ce0e3a2319edc07a8c23e80c8f18a138..1de96b668561c09a71e8705f1ae3d6f7fef954d6 100644 (file)
@@ -88,7 +88,7 @@ postfork_hook (pid_t pid)
   inferior_appeared (inf, pid);
 
   /* Needed for wait_for_inferior stuff.  */
-  inferior_ptid = pid_to_ptid (pid);
+  inferior_ptid = ptid_t (pid);
 
   gdb_assert (saved_ui != NULL);
   current_ui = saved_ui;