Phase 1 of the ptid_t changes.
[deliverable/binutils-gdb.git] / gdb / ptx4-nat.c
index ee74227756be587a49bdb15ae9a7240dd15866fd..65eef9d351832d45939f56188b4397f851cfd04d 100644 (file)
@@ -153,7 +153,7 @@ proc_iterate_over_mappings (int (*func) (int, CORE_ADDR))
   curseg = 0;
   while (1)
     {
-      rv = ptrace (PT_NEXT_VSEG, inferior_pid, &pv, curseg);
+      rv = ptrace (PT_NEXT_VSEG, PIDGET (inferior_ptid), &pv, curseg);
 #ifdef VERBOSE_DEBUG
       printf ("PT_NEXT_VSEG: rv %d errno %d\n", rv, errno);
 #endif
@@ -187,7 +187,7 @@ proc_iterate_over_mappings (int (*func) (int, CORE_ADDR))
              close (interp_fd);
              return 0;
            }
-         rv = ptrace (PT_RDATA_PAGE, inferior_pid, buf2,
+         rv = ptrace (PT_RDATA_PAGE, PIDGET (inferior_ptid), buf2,
                       memptr);
          if (-1 == rv)
            {
This page took 0.032981 seconds and 4 git commands to generate.