Fix OpenBSD build error.
[deliverable/binutils-gdb.git] / gdb / obsd-nat.c
index faef8ff7d32f91b30033eef2c2a4a5e9769ba7d8..b1f3d0b1b43a47f8e4561448062f926bc1b06014 100644 (file)
@@ -59,12 +59,12 @@ obsd_nat_target::update_thread_list ()
     {
       ptid_t ptid = ptid_t (pid, pts.pts_tid, 0);
 
-      if (!in_thread_list (ptid))
+      if (!in_thread_list (this, ptid))
        {
          if (inferior_ptid.lwp () == 0)
-           thread_change_ptid (inferior_ptid, ptid);
+           thread_change_ptid (this, inferior_ptid, ptid);
          else
-           add_thread (ptid);
+           add_thread (this, ptid);
        }
 
       if (ptrace (PT_GET_THREAD_NEXT, pid, (caddr_t)&pts, sizeof pts) == -1)
@@ -147,12 +147,12 @@ obsd_nat_target::wait (ptid_t ptid, struct target_waitstatus *ourstatus,
        }
 
       ptid = ptid_t (pid, pe.pe_tid, 0);
-      if (!in_thread_list (ptid))
+      if (!in_thread_list (this, ptid))
        {
          if (inferior_ptid.lwp () == 0)
-           thread_change_ptid (inferior_ptid, ptid);
+           thread_change_ptid (this, inferior_ptid, ptid);
          else
-           add_thread (ptid);
+           add_thread (this, ptid);
        }
     }
 
This page took 0.025283 seconds and 4 git commands to generate.