aboutsummaryrefslogtreecommitdiff
path: root/gdb/vax-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/vax-nat.c')
-rw-r--r--gdb/vax-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/vax-nat.c b/gdb/vax-nat.c
index 884fddd..7025afe 100644
--- a/gdb/vax-nat.c
+++ b/gdb/vax-nat.c
@@ -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"));