diff options
author | Kevin Buettner <kevinb@redhat.com> | 2001-05-04 04:15:33 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2001-05-04 04:15:33 +0000 |
commit | 39f770628a4eaf018fec8d55684bf2ec16ada9cc (patch) | |
tree | 69027cfb7df2ecc521ab2cc1d25a7dd6cbe56632 /gdb/ptx4-nat.c | |
parent | b1af961c8433821f61dd1849cff9eb9a8bb974e8 (diff) | |
download | gdb-39f770628a4eaf018fec8d55684bf2ec16ada9cc.zip gdb-39f770628a4eaf018fec8d55684bf2ec16ada9cc.tar.gz gdb-39f770628a4eaf018fec8d55684bf2ec16ada9cc.tar.bz2 |
Phase 1 of the ptid_t changes.
Diffstat (limited to 'gdb/ptx4-nat.c')
-rw-r--r-- | gdb/ptx4-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ptx4-nat.c b/gdb/ptx4-nat.c index ee74227..65eef9d 100644 --- a/gdb/ptx4-nat.c +++ b/gdb/ptx4-nat.c @@ -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) { |