diff options
author | Michael Snyder <msnyder@specifix.com> | 2003-07-22 19:07:30 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2003-07-22 19:07:30 +0000 |
commit | 1033ee8386aa1f526f2cd0f6298901f8117b322e (patch) | |
tree | 570f3310a728080addf6e0f8842850b125641bf8 /sim | |
parent | fe2a5d42a725bd58b9ac25dd8d6caab69b68c59b (diff) | |
download | gdb-1033ee8386aa1f526f2cd0f6298901f8117b322e.tar.gz |
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')
-rw-r--r-- | sim/h8300/ChangeLog | 6 | ||||
-rw-r--r-- | sim/h8300/compile.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog index 2436abac266..1ff3d42c4b7 100644 --- a/sim/h8300/ChangeLog +++ b/sim/h8300/ChangeLog @@ -1,8 +1,12 @@ +2003-07-22 Michael Snyder <msnyder@redhat.com> + + * compile.c (sim_resume): Revert 6-24 change, it does not + work with gdb breakpoints. + 2003-07-17 Michael Snyder <msnyder@redhat.com> * compile.c (sim_resume): Handle shll reg, reg and shlr reg, reg. (decode): IMM16 is always zero-extended. - 2003-06-24 Michael Snyder <msnyder@redhat.com> diff --git a/sim/h8300/compile.c b/sim/h8300/compile.c index e25b3f7c6fe..904bdf7aa63 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. */ |