aboutsummaryrefslogtreecommitdiff
path: root/sim/h8300/compile.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2003-07-22 19:07:30 +0000
committerMichael Snyder <msnyder@vmware.com>2003-07-22 19:07:30 +0000
commite22fef83d72c23935e2bca2bc71e87e7c911a229 (patch)
tree209c8d2096fbffc49917037568fb89ce2b165153 /sim/h8300/compile.c
parentb9abda6a18e71a36b52dfeae077b76870d5d3c94 (diff)
downloadgdb-e22fef83d72c23935e2bca2bc71e87e7c911a229.zip
gdb-e22fef83d72c23935e2bca2bc71e87e7c911a229.tar.gz
gdb-e22fef83d72c23935e2bca2bc71e87e7c911a229.tar.bz2
2003-07-22 Michael Snyder <msnyder@redhat.com>
* compile.c (sim_resume): Revert 6-24 change, it does not work with gdb breakpoints.
Diffstat (limited to 'sim/h8300/compile.c')
-rw-r--r--sim/h8300/compile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/h8300/compile.c b/sim/h8300/compile.c
index e25b3f7..904bdf7 100644
--- a/sim/h8300/compile.c
+++ b/sim/h8300/compile.c
@@ -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. */