summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2011-03-11 14:48:55 +0000
committerYao Qi <yao@codesourcery.com>2011-03-11 14:48:55 +0000
commit815a83e48ed8682ecbe74d98fc8f2fbe08d813ad (patch)
treed0bbcb5723975b4e069405d8cdce4bf186e9d6d9
parent502df130577339e30647c32a728b01c2fe99e78e (diff)
downloadppe42-binutils-815a83e48ed8682ecbe74d98fc8f2fbe08d813ad.tar.gz
ppe42-binutils-815a83e48ed8682ecbe74d98fc8f2fbe08d813ad.zip
2011-03-11 Yao Qi <yao@codesourcery.com>
* arm-tdep.c (copy_ldr_str_ldrb_strb): Remove redundant statements.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/arm-tdep.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7b9983ccc6..a01b269192 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index 77961762f3..6e5f2ab16a 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -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;
}
OpenPOWER on IntegriCloud