diff options
author | Nick Clifton <nickc@redhat.com> | 2010-01-20 10:54:03 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2010-01-20 10:54:03 +0000 |
commit | 99ea83aac3cb643a5ffd64bbfd74c6fbba87d2cf (patch) | |
tree | 15df65a16a31dde4a5345b591069ed336981c157 /opcodes/arm-dis.c | |
parent | d8b65138e1b3893725df39d314099cf1491a8484 (diff) | |
download | gdb-99ea83aac3cb643a5ffd64bbfd74c6fbba87d2cf.zip gdb-99ea83aac3cb643a5ffd64bbfd74c6fbba87d2cf.tar.gz gdb-99ea83aac3cb643a5ffd64bbfd74c6fbba87d2cf.tar.bz2 |
PR 11170
* arm-dis.c (print_arm_address): Do not ignore negative bit in PC
based post-indexed addressing.
Diffstat (limited to 'opcodes/arm-dis.c')
-rw-r--r-- | opcodes/arm-dis.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c index ba16443..0318d4a 100644 --- a/opcodes/arm-dis.c +++ b/opcodes/arm-dis.c @@ -2294,11 +2294,11 @@ print_arm_address (bfd_vma pc, struct disassemble_info *info, long given) func (stream, "[pc"); + if (NEGATIVE_BIT_SET) + offset = - offset; + if (PRE_BIT_SET) { - if (NEGATIVE_BIT_SET) - offset = - offset; - /* Pre-indexed. */ func (stream, ", #%d]", offset); |