summaryrefslogtreecommitdiffstats
path: root/gdb/m68knbsd-nat.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2001-05-04 04:15:33 +0000
committerKevin Buettner <kevinb@redhat.com>2001-05-04 04:15:33 +0000
commit39f770628a4eaf018fec8d55684bf2ec16ada9cc (patch)
tree69027cfb7df2ecc521ab2cc1d25a7dd6cbe56632 /gdb/m68knbsd-nat.c
parentb1af961c8433821f61dd1849cff9eb9a8bb974e8 (diff)
downloadppe42-binutils-39f770628a4eaf018fec8d55684bf2ec16ada9cc.tar.gz
ppe42-binutils-39f770628a4eaf018fec8d55684bf2ec16ada9cc.zip
Phase 1 of the ptid_t changes.
Diffstat (limited to 'gdb/m68knbsd-nat.c')
-rw-r--r--gdb/m68knbsd-nat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/m68knbsd-nat.c b/gdb/m68knbsd-nat.c
index 8612b9679f..ec986eeb36 100644
--- a/gdb/m68knbsd-nat.c
+++ b/gdb/m68knbsd-nat.c
@@ -34,12 +34,12 @@ fetch_inferior_registers (int regno)
struct reg inferior_registers;
struct fpreg inferior_fp_registers;
- ptrace (PT_GETREGS, inferior_pid,
+ ptrace (PT_GETREGS, PIDGET (inferior_ptid),
(PTRACE_ARG3_TYPE) & inferior_registers, 0);
memcpy (&registers[REGISTER_BYTE (0)], &inferior_registers,
sizeof (inferior_registers));
- ptrace (PT_GETFPREGS, inferior_pid,
+ ptrace (PT_GETFPREGS, PIDGET (inferior_ptid),
(PTRACE_ARG3_TYPE) & inferior_fp_registers, 0);
memcpy (&registers[REGISTER_BYTE (FP0_REGNUM)], &inferior_fp_registers,
sizeof (inferior_fp_registers));
@@ -55,12 +55,12 @@ store_inferior_registers (int regno)
memcpy (&inferior_registers, &registers[REGISTER_BYTE (0)],
sizeof (inferior_registers));
- ptrace (PT_SETREGS, inferior_pid,
+ ptrace (PT_SETREGS, PIDGET (inferior_ptid),
(PTRACE_ARG3_TYPE) & inferior_registers, 0);
memcpy (&inferior_fp_registers, &registers[REGISTER_BYTE (FP0_REGNUM)],
sizeof (inferior_fp_registers));
- ptrace (PT_SETFPREGS, inferior_pid,
+ ptrace (PT_SETFPREGS, PIDGET (inferior_ptid),
(PTRACE_ARG3_TYPE) & inferior_fp_registers, 0);
}
OpenPOWER on IntegriCloud