diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/remote-sim.c | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 32d0820..3e32ff5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +Tue Jun 16 14:38:40 1998 Ron Unrau (runrau@cygnus.com) + + * 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. + Sun Jun 14 08:46:25 1998 Ron Unrau (runrau@cygnus.com) * partial-stab.h: 'F' and 'f' type N_FUN psymbols should pass 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, |