diff options
Diffstat (limited to 'gdb/symm-xdep.c')
-rw-r--r-- | gdb/symm-xdep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/symm-xdep.c b/gdb/symm-xdep.c index 65cab34..4ce743a 100644 --- a/gdb/symm-xdep.c +++ b/gdb/symm-xdep.c @@ -70,7 +70,7 @@ int regno; else { reg_tmp = *(int *)®isters[REGISTER_BYTE(regno)]; - ptrace(XPT_RREGS, inferior_pid, ®s, 0); + ptrace(XPT_RREGS, inferior_pid, (PTRACE_ARG3_TYPE) ®s, 0); switch (regno) { case 0: @@ -106,7 +106,7 @@ int regno; } } #endif /* 0 */ - ptrace(XPT_WREGS, inferior_pid, ®s, 0); + ptrace(XPT_WREGS, inferior_pid, (PTRACE_ARG3_TYPE) ®s, 0); } void @@ -119,7 +119,7 @@ fetch_inferior_registers (regno) registers_fetched (); - ptrace(XPT_RREGS, inferior_pid, ®s, 0); + ptrace(XPT_RREGS, inferior_pid, (PTRACE_ARG3_TYPE) ®s, 0); *(int *)®isters[REGISTER_BYTE(0)] = regs.pr_eax; *(int *)®isters[REGISTER_BYTE(5)] = regs.pr_ebx; *(int *)®isters[REGISTER_BYTE(2)] = regs.pr_ecx; @@ -427,7 +427,7 @@ i386_float_info () extern int corechan; if (have_inferior_p()) { - call_ptrace(XPT_RREGS, inferior_pid, ®set, 0); + call_ptrace(XPT_RREGS, inferior_pid, (PTRACE_ARG3_TYPE) ®set, 0); } else { if (lseek (corechan, 0, 0) < 0) { perror ("seek on core file"); |