aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-sim.c
diff options
context:
space:
mode:
authorRon Unrau <runrau@cygnus>1998-06-16 20:38:10 +0000
committerRon Unrau <runrau@cygnus>1998-06-16 20:38:10 +0000
commitec07628095164863584330364686bab7854be71b (patch)
tree65aec350ff9e48628e8bcabf53acec20c316085e /gdb/remote-sim.c
parent2905d173c50c7371d7158fda09fbb6ede04acfb0 (diff)
downloadgdb-ec07628095164863584330364686bab7854be71b.zip
gdb-ec07628095164863584330364686bab7854be71b.tar.gz
gdb-ec07628095164863584330364686bab7854be71b.tar.bz2
* dbxread.c: reset function_start_offset after a finishing N_FUN
is seen. * remote-sim.c: allow TARGET_REDEFINE_DEFAULT_OPS to override target vectors as needed. * txvu-tdep.c: add support for VIF breakpoints.
Diffstat (limited to 'gdb/remote-sim.c')
-rw-r--r--gdb/remote-sim.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index 853fd40..452c631 100644
--- a/gdb/remote-sim.c
+++ b/gdb/remote-sim.c
@@ -958,12 +958,17 @@ static void init_gdbsim_ops(void)
gdbsim_ops.to_sections = NULL;
gdbsim_ops.to_sections_end = NULL;
gdbsim_ops.to_magic = OPS_MAGIC;
+
+#ifdef TARGET_REDEFINE_DEFAULT_OPS
+ TARGET_REDEFINE_DEFAULT_OPS (&gdbsim_ops);
+#endif
}
void
_initialize_remote_sim ()
{
init_gdbsim_ops() ;
+
add_target (&gdbsim_ops);
add_com ("sim <command>", class_obscure, simulator_command,