aboutsummaryrefslogtreecommitdiff
path: root/opcodes
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
parent5ebc0f396f697a4525c22caa30d4fbf9b1ba154e (diff)
downloadgdb-cb268829510cffcfdefd0ac26118216321be2039.zip
gdb-cb268829510cffcfdefd0ac26118216321be2039.tar.gz
gdb-cb268829510cffcfdefd0ac26118216321be2039.tar.bz2
Prevent double dumping of raw thumb instructions.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/arm-dis.c5
2 files changed, 7 insertions, 3 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 30886d4..b0a526b 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2000-01-25 Thomas de Lellis <tdel@windriver.com>
+
+ * arm-dis.c (printf_insn_thumb): Prevent double dumping
+ of raw thumb instructions.
+
2000-01-20 Nick Clifton <nickc@cygnus.com>
* mcore-opc.h (mcore_table): Add "add" as an alias for "addu".
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 == '%')