aboutsummaryrefslogtreecommitdiff
path: root/opcodes/arm-dis.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-01-25 22:10:13 +0000
committerNick Clifton <nickc@redhat.com>2000-01-25 22:10:13 +0000
commitcb268829510cffcfdefd0ac26118216321be2039 (patch)
treeba0d94181de6fab1a24630eb43faea15cc2c0a6e /opcodes/arm-dis.c
parent5ebc0f396f697a4525c22caa30d4fbf9b1ba154e (diff)
downloadgdb-cb268829510cffcfdefd0ac26118216321be2039.zip
gdb-cb268829510cffcfdefd0ac26118216321be2039.tar.gz
gdb-cb268829510cffcfdefd0ac26118216321be2039.tar.bz2
Prevent double dumping of raw thumb instructions.
Diffstat (limited to 'opcodes/arm-dis.c')
-rw-r--r--opcodes/arm-dis.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c
index 4a1dc23..fe662ed 100644
--- a/opcodes/arm-dis.c
+++ b/opcodes/arm-dis.c
@@ -590,7 +590,7 @@ print_insn_thumb (pc, info, given)
info->bytes_per_chunk = 4;
info->bytes_per_line = 4;
- func (stream, "%04x\tbl\t", given & 0xffff);
+ func (stream, "bl\t");
(*info->print_address_func)
(BDISP23 (given) * 2 + pc + 4, info);
return 4;
@@ -601,8 +601,7 @@ print_insn_thumb (pc, info, given)
info->bytes_per_line = 4;
given &= 0xffff;
- func (stream, "%04x\t", given);
-
+
for (; *c; c++)
{
if (*c == '%')