]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/vax-nat.c
* aarch64-linux-nat.c: Replace PIDGET with ptid_get_pid.
[thirdparty/binutils-gdb.git] / gdb / vax-nat.c
index 884fdddccb10a35f12bf663f5f5451fcbc31a3d0..7025afe954811762286f92b22dea6995d0af8f91 100644 (file)
@@ -74,7 +74,7 @@ vax_register_u_offset (struct gdbarch *gdbarch, int regnum, int store_p)
   int pid;
 
   errno = 0;
-  pid = PIDGET (inferior_ptid);
+  pid = ptid_get_pid (inferior_ptid);
   u_ar0 = ptrace (PT_READ_U, pid, u_ar0_offset, 0);
   if (errno)
     perror_with_name (_("Unable to determine location of registers"));