aboutsummaryrefslogtreecommitdiff
path: root/opcodes/arm-dis.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-07-20 12:11:18 +0000
committerNick Clifton <nickc@redhat.com>2009-07-20 12:11:18 +0000
commit7769efb28e4e1ee2683a710b9d1e481ad47fd72d (patch)
tree28136cda385d4db996489082b78a48dbc656beb5 /opcodes/arm-dis.c
parent85a772a574617daec38fea8f418eff6ed513eba7 (diff)
downloadgdb-7769efb28e4e1ee2683a710b9d1e481ad47fd72d.zip
gdb-7769efb28e4e1ee2683a710b9d1e481ad47fd72d.tar.gz
gdb-7769efb28e4e1ee2683a710b9d1e481ad47fd72d.tar.bz2
PR 10288
* arm-dis.c (arm_opcodes): Catch non-zero bits 8-11 in register offset or indexed based addressing mode 3.
Diffstat (limited to 'opcodes/arm-dis.c')
-rw-r--r--opcodes/arm-dis.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c
index 5b2899c..71f9766 100644
--- a/opcodes/arm-dis.c
+++ b/opcodes/arm-dis.c
@@ -1005,8 +1005,10 @@ static const struct opcode32 arm_opcodes[] =
{ARM_EXT_V1, 0x04000000, 0x0c100010, "str%22'b%t%c\t%12-15r, %a"},
{ARM_EXT_V1, 0x04400000, 0x0e500000, "strb%c\t%12-15r, %a"},
{ARM_EXT_V1, 0x06400000, 0x0e500010, "strb%c\t%12-15r, %a"},
- {ARM_EXT_V1, 0x000000b0, 0x0e1000f0, "strh%c\t%12-15r, %s"},
- {ARM_EXT_V1, 0x00100090, 0x0e100090, "ldr%6's%5?hb%c\t%12-15r, %s"},
+ {ARM_EXT_V1, 0x004000b0, 0x0e5000f0, "strh%c\t%12-15r, %s"},
+ {ARM_EXT_V1, 0x000000b0, 0x0e500ff0, "strh%c\t%12-15r, %s"},
+ {ARM_EXT_V1, 0x00500090, 0x0e500090, "ldr%6's%5?hb%c\t%12-15r, %s"},
+ {ARM_EXT_V1, 0x00100090, 0x0e500f90, "ldr%6's%5?hb%c\t%12-15r, %s"},
{ARM_EXT_V1, 0x02000000, 0x0fe00000, "and%20's%c\t%12-15r, %16-19r, %o"},
{ARM_EXT_V1, 0x00000000, 0x0fe00010, "and%20's%c\t%12-15r, %16-19r, %o"},