From 120f867e0636a90052d5737e7ae6cc798b71cde2 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 8 Sep 1992 22:57:22 +0000 Subject: [PATCH] nindy bug fixes (function types) and opcode library inclusion --- gdb/ChangeLog | 10 ++++++++++ gdb/remote-nindy.c | 6 ++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5cf3cbba430..bcce28e0d8d 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 d5b8e119500..d07a515dc3e 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. -- 2.30.2