Remove ptid_get_pid
[deliverable/binutils-gdb.git] / gdb / ia64-linux-nat.c
index ef70da5a97db344c979320ea62b55518d22e7cc9..49ae702682b0a6864fed5e6ba74a74ce97325839 100644 (file)
@@ -555,7 +555,7 @@ store_debug_register (ptid_t ptid, int idx, long val)
 
   tid = ptid_get_lwp (ptid);
   if (tid == 0)
-    tid = ptid_get_pid (ptid);
+    tid = ptid.pid ();
 
   (void) ptrace (PT_WRITE_U, tid, (PTRACE_TYPE_ARG3) (PT_DBR + 8 * idx), val);
 }
This page took 0.032104 seconds and 4 git commands to generate.