Index: gdb/vax-nat.c |
diff --git a/gdb/vax-nat.c b/gdb/vax-nat.c |
index d75f1209f0dbd9ad8e32fc7e668f94171d22109e..7025afe954811762286f92b22dea6995d0af8f91 100644 |
--- a/gdb/vax-nat.c |
+++ b/gdb/vax-nat.c |
@@ -1,6 +1,6 @@ |
/* Native-dependent code for VAX UNIXen (including older BSD's). |
- Copyright (C) 2004-2005, 2007-2012 Free Software Foundation, Inc. |
+ Copyright (C) 2004-2013 Free Software Foundation, Inc. |
This file is part of GDB. |
@@ -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")); |