Return gdbpy_ref from some Python string functions
[deliverable/binutils-gdb.git] / gdb / sparc-nat.c
index c133a3e82cf31c2f1838140124be28db7230fdc5..494cf4704527646b799c064f740a8b661dcd2a74 100644 (file)
@@ -274,7 +274,7 @@ sparc_xfer_wcookie (struct target_ops *ops, enum target_object object,
      later).  Since release 3.6, OpenBSD uses a fully randomized
      cookie.  */
   {
-    int pid = ptid_get_pid (inferior_ptid);
+    int pid = inferior_ptid.pid ();
 
     /* Sanity check.  The proper type for a cookie is register_t, but
        we can't assume that this type exists on all systems supported
This page took 0.037286 seconds and 4 git commands to generate.