nindy bug fixes (function types) and opcode library inclusion
authorKen Raeburn <raeburn@cygnus>
Tue, 8 Sep 1992 22:57:22 +0000 (22:57 +0000)
committerKen Raeburn <raeburn@cygnus>
Tue, 8 Sep 1992 22:57:22 +0000 (22:57 +0000)
gdb/ChangeLog
gdb/remote-nindy.c

index 5cf3cbba430bcddbf8d699f21fb77f6ca6289e87..bcce28e0d8dd56bf7ec3bb80dcbb3133dcfa8f0b 100644 (file)
@@ -1,3 +1,13 @@
+Tue Sep  8 17:24:52 1992  Ken Raeburn  (raeburn@cambridge.cygnus.com)
+
+       * remote-nindy.c (nindy_fetch_registers): Make return type void,
+       to agree with target structure field type.
+       (nindy_store_registers): Ditto.
+
+       * Makefile (OPCODES): New var, pointing to opcodes library.
+       (CLIBS, CDEPS): Include it.
+       (saber_gdb): Load opcodes library.
+
 Tue Sep  8 15:22:06 1992  Stu Grossman  (grossman at cygnus.com)
 
        * a68v-xdep.c (store_inferior_registers):  declare as void.
index d5b8e1195003d50c1a226b0dbb593075c1e063e8..d07a515dc3e719cd370e4826e50a9c4295cd25fb 100644 (file)
@@ -470,7 +470,7 @@ struct nindy_regs {
   char fp_as_double[4 * 8];
 };
 
-static int
+static void
 nindy_fetch_registers(regno)
      int regno;
 {
@@ -497,7 +497,6 @@ nindy_fetch_registers(regno)
   }
 
   registers_fetched ();
-  return 0;
 }
 
 static void
@@ -506,7 +505,7 @@ nindy_prepare_to_store()
   nindy_fetch_registers(-1);
 }
 
-static int
+static void
 nindy_store_registers(regno)
      int regno;
 {
@@ -536,7 +535,6 @@ nindy_store_registers(regno)
   immediate_quit++;
   ninRegsPut( (char *) &nindy_regs );
   immediate_quit--;
-  return 0;
 }
 
 /* Read a word from remote address ADDR and return it.