summaryrefslogtreecommitdiff
path: root/opcodes/arm-dis.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2003-11-03 14:47:22 +0000
committerDaniel Jacobowitz <dan@debian.org>2003-11-03 14:47:22 +0000
commit3c46959b7ae06c0b0a4a01f3ca78c3e045d4b8e0 (patch)
tree880a7d1e49ff31b6afb9e256e203802bc2c701b4 /opcodes/arm-dis.c
parent07c8a5f6f27a80ac33b007bea7388939aa8f4186 (diff)
downloadgdb-3c46959b7ae06c0b0a4a01f3ca78c3e045d4b8e0.tar.gz
* arm-dis.c (print_arm_insn): Print "-" after "#".
Diffstat (limited to 'opcodes/arm-dis.c')
-rw-r--r--opcodes/arm-dis.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c
index ac36e88006b..5f8fc4cfd12 100644
--- a/opcodes/arm-dis.c
+++ b/opcodes/arm-dis.c
@@ -286,7 +286,7 @@ print_insn_arm (pc, info, given)
{
int offset = given & 0xfff;
if (offset)
- func (stream, ", %s#%d",
+ func (stream, ", #%s%d",
(((given & 0x00800000) == 0)
? "-" : ""), offset);
}
@@ -307,7 +307,7 @@ print_insn_arm (pc, info, given)
{
int offset = given & 0xfff;
if (offset)
- func (stream, "], %s#%d",
+ func (stream, "], #%s%d",
(((given & 0x00800000) == 0)
? "-" : ""), offset);
else
@@ -350,7 +350,7 @@ print_insn_arm (pc, info, given)
/* Immediate. */
int offset = ((given & 0xf00) >> 4) | (given & 0xf);
if (offset)
- func (stream, ", %s#%d",
+ func (stream, ", #%s%d",
(((given & 0x00800000) == 0)
? "-" : ""), offset);
}
@@ -374,7 +374,7 @@ print_insn_arm (pc, info, given)
/* Immediate. */
int offset = ((given & 0xf00) >> 4) | (given & 0xf);
if (offset)
- func (stream, "], %s#%d",
+ func (stream, "], #%s%d",
(((given & 0x00800000) == 0)
? "-" : ""), offset);
else
@@ -451,7 +451,7 @@ print_insn_arm (pc, info, given)
int offset = given & 0xff;
if (offset)
- func (stream, ", %s#%d]%s",
+ func (stream, ", #%s%d]%s",
((given & 0x00800000) == 0 ? "-" : ""),
offset * 4,
((given & 0x00200000) != 0 ? "!" : ""));
@@ -467,7 +467,7 @@ print_insn_arm (pc, info, given)
if (given & (1 << 21))
{
if (offset)
- func (stream, ", %s#%d",
+ func (stream, ", #%s%d",
((given & 0x00800000) == 0 ? "-" : ""),
offset * 4);
}
@@ -876,12 +876,12 @@ print_insn_arm (pc, info, given)
if (offset)
{
if ((given & 0x01000000) != 0)
- func (stream, ", %s#%d]%s",
+ func (stream, ", #%s%d]%s",
((given & 0x00800000) == 0 ? "-" : ""),
offset * multiplier,
((given & 0x00200000) != 0 ? "!" : ""));
else
- func (stream, "], %s#%d",
+ func (stream, "], #%s%d",
((given & 0x00800000) == 0 ? "-" : ""),
offset * multiplier);
}