diff options
author | Phil Blundell <philb@gnu.org> | 2001-07-16 21:42:48 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2001-07-16 21:42:48 +0000 |
commit | c97c0bdad4c56f2a259f5580f3a8690c90a93520 (patch) | |
tree | 4834dcaea574a9d60346099aa9ac9144282e6a89 | |
parent | dbbc97dfa589fd428f109a0767ac1535f9c65681 (diff) | |
download | gdb-c97c0bdad4c56f2a259f5580f3a8690c90a93520.zip gdb-c97c0bdad4c56f2a259f5580f3a8690c90a93520.tar.gz gdb-c97c0bdad4c56f2a259f5580f3a8690c90a93520.tar.bz2 |
2001-07-16 Philip Blundell <philb@gnu.org>
* arm-dis.c (print_insn_arm): Use decimal for offsets in LDR/STR.
-rw-r--r-- | opcodes/ChangeLog | 4 | ||||
-rw-r--r-- | opcodes/arm-dis.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 4c7f074..a3bacf9 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2001-07-16 Philip Blundell <philb@gnu.org> + + * arm-dis.c (print_insn_arm): Use decimal for offsets in LDR/STR. + 2001-07-03 Zoltan Hidvegi <hzoli@hzoli.2y.net> * ppc-opc.c: Fix encoding of 'clf' instruction. diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c index b90f820..eaebe34 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); |