diff options
author | Phil Blundell <philb@gnu.org> | 2001-07-16 19:04:31 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2001-07-16 19:04:31 +0000 |
commit | 40536497420c0f45b5ca484cad5b6826660fbd5f (patch) | |
tree | d4332383afd2f2ab9da5dabaa451ab23369a5046 /opcodes/arm-dis.c | |
parent | d6f5fea1d2e07efbbe9ae8ff64c73941d81e52a8 (diff) | |
download | gdb-40536497420c0f45b5ca484cad5b6826660fbd5f.zip gdb-40536497420c0f45b5ca484cad5b6826660fbd5f.tar.gz gdb-40536497420c0f45b5ca484cad5b6826660fbd5f.tar.bz2 |
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.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c index 9d280a1..a36dd1a 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); |