diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-08-14 23:43:33 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-08-14 23:43:33 +0000 |
commit | dfeafa2f1dd53e4356b08b05ea5141d515a0d0fc (patch) | |
tree | 0880ed6fcc62af055d8816c3380d4590144c1387 /gdb/ns32knbsd-nat.c | |
parent | 9f8e00890b2dc522473afa6410f35a57a5043f28 (diff) | |
download | gdb-dfeafa2f1dd53e4356b08b05ea5141d515a0d0fc.zip gdb-dfeafa2f1dd53e4356b08b05ea5141d515a0d0fc.tar.gz gdb-dfeafa2f1dd53e4356b08b05ea5141d515a0d0fc.tar.bz2 |
Really s/PTRACE_ARG3_TYPE/PTRACE_TYPE_ARG3/g
Diffstat (limited to 'gdb/ns32knbsd-nat.c')
-rw-r--r-- | gdb/ns32knbsd-nat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/ns32knbsd-nat.c b/gdb/ns32knbsd-nat.c index 2f66dec..520dfe4 100644 --- a/gdb/ns32knbsd-nat.c +++ b/gdb/ns32knbsd-nat.c @@ -45,9 +45,9 @@ fetch_inferior_registers (int regno) struct fpreg inferior_fpregisters; ptrace (PT_GETREGS, PIDGET (inferior_ptid), - (PTRACE_ARG3_TYPE) & inferior_registers, 0); + (PTRACE_TYPE_ARG3) & inferior_registers, 0); ptrace (PT_GETFPREGS, PIDGET (inferior_ptid), - (PTRACE_ARG3_TYPE) & inferior_fpregisters, 0); + (PTRACE_TYPE_ARG3) & inferior_fpregisters, 0); RF (R0_REGNUM + 0, inferior_registers.r_r0); RF (R0_REGNUM + 1, inferior_registers.r_r1); @@ -106,9 +106,9 @@ store_inferior_registers (int regno) RS (LP0_REGNUM + 7, inferior_fpregisters.r_freg[7]); ptrace (PT_SETREGS, PIDGET (inferior_ptid), - (PTRACE_ARG3_TYPE) & inferior_registers, 0); + (PTRACE_TYPE_ARG3) & inferior_registers, 0); ptrace (PT_SETFPREGS, PIDGET (inferior_ptid), - (PTRACE_ARG3_TYPE) & inferior_fpregisters, 0); + (PTRACE_TYPE_ARG3) & inferior_fpregisters, 0); } |