2003-07-22 Michael Snyder <msnyder@redhat.com>

* compile.c (sim_resume): Revert 6-24 change, it does not
        work with gdb breakpoints.
This commit is contained in:
Michael Snyder
2003-07-22 19:07:30 +00:00
parent b9abda6a18
commit e22fef83d7
2 changed files with 7 additions and 1 deletions

View File

@ -3577,12 +3577,14 @@ sim_resume (SIM_DESC sd, int step, int siggnal)
sim_engine_set_run_state (sd, sim_exited,
SIM_WEXITSTATUS (h8_get_reg (sd, 0)));
}
#if 0
else if (SIM_WIFSTOPPED (h8_get_reg (sd, 0)))
{
/* Pass the stop signal up to gdb. */
sim_engine_set_run_state (sd, sim_stopped,
SIM_WSTOPSIG (h8_get_reg (sd, 0)));
}
#endif
else
{
/* Treat it as a sigtrap. */