aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1992-09-08 22:57:22 +0000
committerKen Raeburn <raeburn@cygnus>1992-09-08 22:57:22 +0000
commit120f867e0636a90052d5737e7ae6cc798b71cde2 (patch)
treefdbae914bae78705aca8ca7a75bf222bf26c0fc8 /gdb
parenta090e7063ae0f9c8783821418c3f6a1f84502b6d (diff)
downloadgdb-120f867e0636a90052d5737e7ae6cc798b71cde2.zip
gdb-120f867e0636a90052d5737e7ae6cc798b71cde2.tar.gz
gdb-120f867e0636a90052d5737e7ae6cc798b71cde2.tar.bz2
nindy bug fixes (function types) and opcode library inclusion
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog10
-rw-r--r--gdb/remote-nindy.c6
2 files changed, 12 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5cf3cbb..bcce28e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/remote-nindy.c b/gdb/remote-nindy.c
index d5b8e11..d07a515 100644
--- a/gdb/remote-nindy.c
+++ b/gdb/remote-nindy.c
@@ -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.