*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / ultra3-xdep.c
index 35eff11691c7ca8aeb1de46c641e63ac3e6872b1..82ad2867b42cf6e52ea64c9eafa62819ba1a550d 100644 (file)
@@ -19,7 +19,6 @@ along with this program; if not, write to the Free Software
 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #define DEBUG
-#include <stdio.h>
 #include "defs.h"
 #include "frame.h"
 #include "inferior.h"
@@ -156,7 +155,7 @@ fetch_inferior_registers (regno)
  * NOTE: Assumes AMD's binary compatibility standard. 
  */
 
-int
+void
 store_inferior_registers (regno)
      int regno;
 {
@@ -166,7 +165,7 @@ store_inferior_registers (regno)
   if (regno >= 0)
     {
       if (CANNOT_STORE_REGISTER(regno)) 
-       return 0;                       /*  Pretend success */
+       return;
       regaddr = register_addr (regno, 0);
       errno = 0;
       ptrace (PT_WRITE_U, inferior_pid,(int*)regaddr,read_register(regno));
@@ -209,7 +208,7 @@ store_inferior_registers (regno)
        {
           sprintf (buf, "writing all special registers");
           perror_with_name (buf);
-          return -1;
+          return;
        }
 #else
       store_inferior_registers(GR1_REGNUM);
@@ -229,13 +228,13 @@ store_inferior_registers (regno)
       store_inferior_registers(FC_REGNUM);
 #endif /* ULTRA3 */
     }
-  return 0;
 }
 
 /* 
  * Read AMD's Binary Compatibilty Standard conforming core file.
  * struct ptrace_user is the first thing in the core file
  */
+
 void
 fetch_core_registers ()
 {
This page took 0.025809 seconds and 4 git commands to generate.