Remove ptid_build
[deliverable/binutils-gdb.git] / gdb / obsd-nat.c
index 91bed717a56bd18af3eb90ee616497522743e276..08e873d11f32ba0e37753baed3532cb74260f788 100644 (file)
@@ -62,7 +62,7 @@ obsd_nat_target::update_thread_list ()
 
   while (pts.pts_tid != -1)
     {
-      ptid_t ptid = ptid_build (pid, pts.pts_tid, 0);
+      ptid_t ptid = ptid_t (pid, pts.pts_tid, 0);
 
       if (!in_thread_list (ptid))
        {
@@ -151,7 +151,7 @@ obsd_nat_target::wait (ptid_t ptid, struct target_waitstatus *ourstatus,
          return pid_to_ptid (pid);
        }
 
-      ptid = ptid_build (pid, pe.pe_tid, 0);
+      ptid = ptid_t (pid, pe.pe_tid, 0);
       if (!in_thread_list (ptid))
        {
          if (ptid_get_lwp (inferior_ptid) == 0)
This page took 0.024624 seconds and 4 git commands to generate.