aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-sim.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-02-06 03:09:59 +0000
committerAndrew Cagney <cagney@redhat.com>1998-02-06 03:09:59 +0000
commit1931ea8d43d508683992517e218dafc0cf5aeaf6 (patch)
tree79ce8232cda68576736db5771f8ad9cf7e866697 /gdb/remote-sim.c
parent803f52b9dc568860f2cef0065feb170db7cd8309 (diff)
downloadgdb-1931ea8d43d508683992517e218dafc0cf5aeaf6.zip
gdb-1931ea8d43d508683992517e218dafc0cf5aeaf6.tar.gz
gdb-1931ea8d43d508683992517e218dafc0cf5aeaf6.tar.bz2
When starting a new simulator run, ensure proceed status is cleared.
Diffstat (limited to 'gdb/remote-sim.c')
-rw-r--r--gdb/remote-sim.c2
1 files changed, 2 insertions, 0 deletions
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);
}