* stabs.texinfo: Document the format for C++ nested types.
[deliverable/binutils-gdb.git] / gdb / sun3-xdep.c
index f6db72da0ec650c3d4b9cd29a25c62e02356e7a9..03cc3ae4913893f1766a0bcdfa69c8a0a94fe232 100644 (file)
@@ -41,9 +41,11 @@ fetch_inferior_registers (regno)
 
   registers_fetched ();
   
-  ptrace (PTRACE_GETREGS, inferior_pid, &inferior_registers);
+  ptrace (PTRACE_GETREGS, inferior_pid,
+         (PTRACE_ARG3_TYPE) &inferior_registers);
 #ifdef FP0_REGNUM
-  ptrace (PTRACE_GETFPREGS, inferior_pid, &inferior_fp_registers);
+  ptrace (PTRACE_GETFPREGS, inferior_pid,
+         (PTRACE_ARG3_TYPE) &inferior_fp_registers);
 #endif 
   
   bcopy (&inferior_registers, registers, 16 * 4);
@@ -88,9 +90,11 @@ store_inferior_registers (regno)
         sizeof inferior_fp_registers - sizeof inferior_fp_registers.fps_regs);
 #endif
 
-  ptrace (PTRACE_SETREGS, inferior_pid, &inferior_registers);
+  ptrace (PTRACE_SETREGS, inferior_pid,
+         (PTRACE_ARG3_TYPE) &inferior_registers);
 #if FP0_REGNUM
-  ptrace (PTRACE_SETFPREGS, inferior_pid, &inferior_fp_registers);
+  ptrace (PTRACE_SETFPREGS, inferior_pid,
+         (PTRACE_ARG3_TYPE) &inferior_fp_registers);
 #endif
 }
 
This page took 0.023648 seconds and 4 git commands to generate.