2003-07-22 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Tue, 22 Jul 2003 19:07:30 +0000 (19:07 +0000)
committerMichael Snyder <msnyder@vmware.com>
Tue, 22 Jul 2003 19:07:30 +0000 (19:07 +0000)
        * compile.c (sim_resume): Revert 6-24 change, it does not
        work with gdb breakpoints.

sim/h8300/ChangeLog
sim/h8300/compile.c

index 2436abac2665682f0fe000804e44457a84e4d9f6..1ff3d42c4b7893c7902c7244e30b6d2a5bfee821 100644 (file)
@@ -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>
 
index e25b3f7c6fedac93415eaeae1a21cb1a795aea46..904bdf7aa63ec8eda427232f1cd5895d1213ef99 100644 (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.  */