aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/remote-sim.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 52978ff..d215f3d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Thu Feb 5 17:18:16 1998 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * remote-sim.c (gdbsim_create_inferior): clear_proceed_status
+ before /re/starting the simulator.
+
Thu Feb 5 15:55:31 1998 C. M. Heard (heard@vvnet.com)
* top.c (do_nothing): Remove signal handler after signal is caught.
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index a1a1e32..69c474a 100644
--- a/gdb/remote-sim.c
+++ b/gdb/remote-sim.c
@@ -474,6 +474,8 @@ gdbsim_create_inferior (exec_file, args, env)
inferior_pid = 42;
insert_breakpoints (); /* Needed to get correct instruction in cache */
+ clear_proceed_status ();
+
/* NB: Entry point already set by sim_create_inferior. */
proceed ((CORE_ADDR)-1, TARGET_SIGNAL_DEFAULT, 0);
}