aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-nindy.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-08-14 00:09:04 +0000
committerJohn Gilmore <gnu@cygnus>1991-08-14 00:09:04 +0000
commit8f1f2a72bd2009b97fe1e2139072359e25068e3e (patch)
tree872b91b8b4698529171c95a6084ece23eaf4c0cc /gdb/remote-nindy.c
parent5ac449d90c0fa68a04ad6bc9d6583c88ced5523c (diff)
downloadgdb-8f1f2a72bd2009b97fe1e2139072359e25068e3e.zip
gdb-8f1f2a72bd2009b97fe1e2139072359e25068e3e.tar.gz
gdb-8f1f2a72bd2009b97fe1e2139072359e25068e3e.tar.bz2
* core.c, exec.c, inftarg.c, remote-eb.c, remote-nindy.c,
remote-vx.c, remote.c, target.c, target.h: Remove add_syms vector from target_ops. It's the same on all targets. Add two section pointers to target_ops.
Diffstat (limited to 'gdb/remote-nindy.c')
-rw-r--r--gdb/remote-nindy.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/remote-nindy.c b/gdb/remote-nindy.c
index 08cc9de..e8b2160 100644
--- a/gdb/remote-nindy.c
+++ b/gdb/remote-nindy.c
@@ -124,7 +124,6 @@ extern char *getenv();
extern char *mktemp();
extern char *coffstrip();
-extern void add_syms_addr_command ();
extern value call_function_by_hand ();
extern void generic_mourn_inferior ();
@@ -573,11 +572,12 @@ nindy_store_word (addr, word)
FIXME, rewrite this to not use the word-oriented routines. */
int
-nindy_xfer_inferior_memory(memaddr, myaddr, len, write)
+nindy_xfer_inferior_memory(memaddr, myaddr, len, write, target)
CORE_ADDR memaddr;
char *myaddr;
int len;
int write;
+ struct target_ops *target; /* ignored */
{
register int i;
/* Round starting address down to longword boundary. */
@@ -947,13 +947,14 @@ specified when you started GDB.",
0, 0, /* insert_breakpoint, remove_breakpoint, */
0, 0, 0, 0, 0, /* Terminal crud */
nindy_kill,
- nindy_load, add_syms_addr_command,
+ nindy_load,
call_function_by_hand,
0, /* lookup_symbol */
nindy_create_inferior,
nindy_mourn_inferior,
process_stratum, 0, /* next */
1, 1, 1, 1, 1, /* all mem, mem, stack, regs, exec */
+ 0, 0, /* Section pointers */
OPS_MAGIC, /* Always the last thing */
};