summaryrefslogtreecommitdiff
path: root/opcodes/arm-dis.c
diff options
context:
space:
mode:
authorPhil Blundell <pb@futuretv.com>2001-07-16 19:04:31 +0000
committerPhil Blundell <pb@futuretv.com>2001-07-16 19:04:31 +0000
commitc89c4012207b80f85b0247b7b04a6dd2c64cd3a9 (patch)
tree902ccf084ca5cda10483fd2045040ad3dfa467e9 /opcodes/arm-dis.c
parentff33785e51e48f757a1dd70b9251b32e576a950b (diff)
downloadgdb-c89c4012207b80f85b0247b7b04a6dd2c64cd3a9.tar.gz
2001-07-13 Philip Blundell <philb@gnu.org>
* arm-dis.c (print_insn_arm): Use decimal for offsets in LDR/STR.
Diffstat (limited to 'opcodes/arm-dis.c')
-rw-r--r--opcodes/arm-dis.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c
index 9d280a17b79..a36dd1ab758 100644
--- a/opcodes/arm-dis.c
+++ b/opcodes/arm-dis.c
@@ -201,7 +201,7 @@ print_insn_arm (pc, info, given)
offset = - offset;
/* pre-indexed */
- func (stream, ", #%x]", offset);
+ func (stream, ", #%d]", offset);
offset += pc + 8;
@@ -215,7 +215,7 @@ print_insn_arm (pc, info, given)
else
{
/* Post indexed. */
- func (stream, "], #%x", offset);
+ func (stream, "], #%d", offset);
offset = pc + 8; /* ie ignore the offset. */
}
@@ -280,7 +280,7 @@ print_insn_arm (pc, info, given)
if ((given & 0x00800000) == 0)
offset = -offset;
- func (stream, "[pc, #%x]\t; ", offset);
+ func (stream, "[pc, #%d]\t; ", offset);
(*info->print_address_func)
(offset + pc + 8, info);