struct reg regs;
if (ptrace (PT_GETREGS, PIDGET (inferior_ptid),
- (PTRACE_ARG3_TYPE) ®s, 0) == -1)
+ (PTRACE_TYPE_ARG3) ®s, 0) == -1)
perror_with_name ("Couldn't get registers");
hppabsd_supply_gregset (regcache, ®s);
struct reg regs;
if (ptrace (PT_GETREGS, PIDGET (inferior_ptid),
- (PTRACE_ARG3_TYPE) ®s, 0) == -1)
+ (PTRACE_TYPE_ARG3) ®s, 0) == -1)
perror_with_name ("Couldn't get registers");
hppabsd_collect_gregset (current_regcache, ®s, regnum);
if (ptrace (PT_SETREGS, PIDGET (inferior_ptid),
- (PTRACE_ARG3_TYPE) ®s, 0) == -1)
+ (PTRACE_TYPE_ARG3) ®s, 0) == -1)
perror_with_name ("Couldn't write registers");
}
}