aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-nindy.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-10-21 10:52:09 +0000
committerJohn Gilmore <gnu@cygnus>1992-10-21 10:52:09 +0000
commite4db3f3e0674eac6248dc173689408d005efcfc7 (patch)
tree14c4adfd447de98ac4bad22f5637ed53dad13795 /gdb/remote-nindy.c
parent7b107b1ec4228ecc51f0ad9b38626d2b4cd04075 (diff)
downloadgdb-e4db3f3e0674eac6248dc173689408d005efcfc7.zip
gdb-e4db3f3e0674eac6248dc173689408d005efcfc7.tar.gz
gdb-e4db3f3e0674eac6248dc173689408d005efcfc7.tar.bz2
* Makefile.in (VERSION): Tick to 4.6.9.
* mipsread.c (UNSAFE_DATA_ADDR): Remove MIPS-host-specific definition, replace with portable one. * remote-nindy.c: Lint. (nindy_wait): Return type is int, result is inferior_pid. * symmisc.c (dump_psymtab): Only print section_offsets if set. (initialize_symmisc): Remove empty function. * tm-spc-noun.h, tm-sun4os4.h, tm-sun4sol2.h (STACK_END_ADDRESS): Remove obsolete, misspelled macro. * doc/gdbint.texinfo: Document obsolete STACK_END_ADDR. (all @node commands): Use new form to avoid nitpicking errors. * doc/gdbint.texinfo: Document host/native/target split.
Diffstat (limited to 'gdb/remote-nindy.c')
-rw-r--r--gdb/remote-nindy.c17
1 files changed, 14 insertions, 3 deletions
diff --git a/gdb/remote-nindy.c b/gdb/remote-nindy.c
index 0840bb6..8081067 100644
--- a/gdb/remote-nindy.c
+++ b/gdb/remote-nindy.c
@@ -145,8 +145,18 @@ static int have_regs = 0; /* 1 iff regs read since i960 last halted */
static int regs_changed = 0; /* 1 iff regs were modified since last read */
extern char *exists();
-static void dcache_flush (), dcache_poke (), dcache_init();
-static int dcache_fetch ();
+
+static void
+dcache_flush (), dcache_poke (), dcache_init();
+
+static int
+dcache_fetch ();
+
+static void
+nindy_fetch_registers PARAMS ((int));
+
+static void
+nindy_store_registers PARAMS ((int));
/* FIXME, we can probably use the normal terminal_inferior stuff here.
We have to do terminal_inferior and then set up the passthrough
@@ -355,7 +365,7 @@ nindy_resume (step, siggnal)
* Return to caller, storing status in 'status' just as `wait' would.
*/
-void
+static int
nindy_wait( status )
WAITTYPE *status;
{
@@ -456,6 +466,7 @@ nindy_wait( status )
}
WSETSTOP( (*status), stop_code );
}
+ return inferior_pid;
}
/* Read the remote registers into the block REGS. */