diff options
Diffstat (limited to 'gdb/pyr-tdep.c')
-rw-r--r-- | gdb/pyr-tdep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/pyr-tdep.c b/gdb/pyr-tdep.c index 7dc2f47..69b84eb 100644 --- a/gdb/pyr-tdep.c +++ b/gdb/pyr-tdep.c @@ -37,11 +37,11 @@ pyr_print_registers(reg_buf, regnum) reg_names[regno+48], reg_buf[regno+48]); } usp = ptrace (3, inferior_pid, - ((char *)&u.u_pcb.pcb_usp) - - ((char *)&u), 0); + (PTRACE_ARG3_TYPE) ((char *)&u.u_pcb.pcb_usp) - + ((char *)&u), 0); ksp = ptrace (3, inferior_pid, - ((char *)&u.u_pcb.pcb_ksp) - - ((char *)&u), 0); + (PTRACE_ARG3_TYPE) ((char *)&u.u_pcb.pcb_ksp) - + ((char *)&u), 0); printf/*_filtered*/ ("\n%6.6s: %8x %6.6s: %8x (%08x) %6.6s %8x\n", reg_names[CSP_REGNUM],reg_buf[CSP_REGNUM], reg_names[KSP_REGNUM], reg_buf[KSP_REGNUM], ksp, |