]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2002-05-28 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Mon, 3 Jun 2002 00:36:02 +0000 (00:36 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Mon, 3 Jun 2002 00:36:02 +0000 (00:36 +0000)
        From Jason Eckhardt <jle@redhat.com>
        * d10v_sim.h (INC_ADDR): Correctly handle the case where MOD_E is
        less than MOD_S (post-decrement).

sim/d10v/ChangeLog
sim/d10v/d10v_sim.h

index d3d0d6b433e31c7a179865f007400b1f28758caa..8b4ebaf0dd7180b4216eb1d0299b856c552dc1e8 100644 (file)
@@ -1,3 +1,9 @@
+2002-05-28  Elena Zannoni  <ezannoni@redhat.com>
+
+        From Jason Eckhardt <jle@redhat.com>
+        * d10v_sim.h (INC_ADDR): Correctly handle the case where MOD_E is
+        less than MOD_S (post-decrement).
+
 2002-06-01  Andrew Cagney  <ac131313@redhat.com>
 
        * interp.c (sim_fetch_register, sim_store_register): Use a switch
index 3566da01d260835891f4e9bd1d7f311fb4576f54..377a001580d291a97b4febdde4e3f9d5f77403b1 100644 (file)
@@ -435,7 +435,7 @@ do \
   { \
     int test_i = i < 0 ? i : ~((i) - 1); \
     if (PSW_MD && GPR (x) == (MOD_E & test_i)) \
-      SET_GPR (x, MOD_S); \
+      SET_GPR (x, MOD_S & test_i); \
     else \
       SET_GPR (x, GPR (x) + (i)); \
   } \