aboutsummaryrefslogtreecommitdiff
path: root/gdb
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 /gdb
parent502df130577339e30647c32a728b01c2fe99e78e (diff)
downloadgdb-815a83e48ed8682ecbe74d98fc8f2fbe08d813ad.zip
gdb-815a83e48ed8682ecbe74d98fc8f2fbe08d813ad.tar.gz
gdb-815a83e48ed8682ecbe74d98fc8f2fbe08d813ad.tar.bz2
2011-03-11 Yao Qi <yao@codesourcery.com>
* arm-tdep.c (copy_ldr_str_ldrb_strb): Remove redundant statements.
Diffstat (limited to 'gdb')
-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 7b9983c..a01b269 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 7796176..6e5f2ab 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;
}