#include "terminal.h"
#include "target.h"
-extern void add_syms_addr_command ();
extern struct value *call_function_by_hand();
extern struct target_ops eb_ops; /* Forward declaration */
/* FIXME! Merge these two. */
int
-eb_xfer_inferior_memory (memaddr, myaddr, len, write)
+eb_xfer_inferior_memory (memaddr, myaddr, len, write, target)
CORE_ADDR memaddr;
char *myaddr;
int len;
int write;
+ struct target_ops *target; /* ignored */
{
if (write)
return eb_write_inferior_memory (memaddr, myaddr, len);
0, 0, /* Breakpoints */
0, 0, 0, 0, 0, /* Terminal handling */
0, /* FIXME, kill */
- 0, add_syms_addr_command, /* load */
+ 0, /* load */
call_function_by_hand,
0, /* lookup_symbol */
0, /* create_inferior FIXME, eb_start here or something? */
0, /* mourn_inferior FIXME */
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 */
};
extern char *mktemp();
extern char *coffstrip();
-extern void add_syms_addr_command ();
extern value call_function_by_hand ();
extern void generic_mourn_inferior ();
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. */
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 */
};
extern value call_function_by_hand ();
extern void symbol_file_command ();
-extern void add_syms_addr_command ();
extern int stop_soon_quietly; /* for wait_for_inferior */
static int net_ptrace_clnt_call (); /* Forward decl */
vxworks doesn't give us that information. */
int
-vx_xfer_memory (memaddr, myaddr, len, write)
+vx_xfer_memory (memaddr, myaddr, len, write, target)
CORE_ADDR memaddr;
char *myaddr;
int len;
+ int write;
+ struct target_ops *target; /* ignored */
{
int status;
Rptrace ptrace_in;
0, 0, /* insert_breakpoint, remove_breakpoint */
0, 0, 0, 0, 0, /* terminal stuff */
0, /* vx_kill, */
- vx_load_command, add_syms_addr_command,
+ vx_load_command,
0, /* call_function */
vx_lookup_symbol,
vx_create_inferior, 0, /* mourn_inferior */
core_stratum, 0, /* next */
1, 1, 0, 0, 0, /* all mem, mem, stack, regs, exec */
+ 0, 0, /* Section pointers */
OPS_MAGIC, /* Always the last thing */
};
vx_insert_breakpoint, vx_remove_breakpoint,
0, 0, 0, 0, 0, /* terminal stuff */
vx_kill,
- vx_load_command, add_syms_addr_command,
+ vx_load_command,
call_function_by_hand, /* FIXME, calling fns is maybe botched? */
vx_lookup_symbol,
0, vx_mourn_inferior,
process_stratum, 0, /* next */
0, 1, 1, 1, 1, /* all mem, mem, stack, regs, exec */
/* all_mem is off to avoid spurious msg in "i files" */
+ 0, 0, /* Section pointers */
OPS_MAGIC, /* Always the last thing */
};
/* ==> Remember when reading at end of file, there are two "ops" structs here. */