2011-03-11 Yao Qi <yao@codesourcery.com>
authorYao Qi <yao@codesourcery.com>
Fri, 11 Mar 2011 14:48:55 +0000 (14:48 +0000)
committerYao Qi <yao@codesourcery.com>
Fri, 11 Mar 2011 14:48:55 +0000 (14:48 +0000)
* arm-tdep.c (copy_ldr_str_ldrb_strb): Remove redundant statements.

gdb/ChangeLog
gdb/arm-tdep.c

index 7b9983ccc6fc4ea333cb545f34b91f7a483fced7..a01b26919275f5dc90af87582b0a47ac2f9eda89 100644 (file)
@@ -1,3 +1,7 @@
+2011-03-11  Yao Qi  <yao@codesourcery.com>
+
+       * arm-tdep.c (copy_ldr_str_ldrb_strb): Remove redundant statements.
+
 2011-03-11  Andreas Schwab  <schwab@redhat.com>
 
        * common/aclocal.m4: Remove.
index 77961762f37beb934f7d3302a660fddce182ab2a..6e5f2ab16a8ff9945a976bbb170252f2bd357c41 100644 (file)
@@ -6003,9 +6003,6 @@ copy_ldr_str_ldrb_strb (struct gdbarch *gdbarch, uint32_t insn,
       else
        dsc->modinsn[5] = (insn & 0xfff00ff0) | 0x20003;
 
-      dsc->modinsn[6] = 0x0;  /* breakpoint location.  */
-      dsc->modinsn[7] = 0x0;  /* scratch space.  */
-
       dsc->numinsns = 6;
     }