summaryrefslogtreecommitdiff
path: root/gdb/remote-vx.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-vx.c
parent5ac449d90c0fa68a04ad6bc9d6583c88ced5523c (diff)
downloadbinutils-gdb-8f1f2a72bd2009b97fe1e2139072359e25068e3e.tar.gz
* 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-vx.c')
-rw-r--r--gdb/remote-vx.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/gdb/remote-vx.c b/gdb/remote-vx.c
index 67a03b6c185..171e712ed6d 100644
--- a/gdb/remote-vx.c
+++ b/gdb/remote-vx.c
@@ -54,7 +54,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
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 */
@@ -899,10 +898,12 @@ vx_write_register (regno)
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;
@@ -1748,12 +1749,13 @@ Specify the name of the machine to connect to.",
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 */
};
@@ -1770,13 +1772,14 @@ struct target_ops vx_run_ops = {
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. */