Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Unified Diff: gdb/vax-nat.c

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/varobj.c ('k') | gdb/vax-tdep.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"));
« no previous file with comments | « gdb/varobj.c ('k') | gdb/vax-tdep.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698