When starting a new simulator run, ensure proceed status is cleared.

This commit is contained in:
Andrew Cagney 1998-02-06 03:09:59 +00:00
parent 803f52b9dc
commit 1931ea8d43
2 changed files with 7 additions and 0 deletions

View File

@ -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.

View File

@ -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);
}