OSDN Git Service

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

gdb/ChangeLog
gdb/arm-tdep.c

index 7b9983c..a01b269 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 7796176..6e5f2ab 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;
     }