aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-09-22 21:26:13 +0000
committerMike Frysinger <vapier@gentoo.org>2010-09-22 21:26:13 +0000
commita01eda858f5dc30309e79650b4cc9775416665af (patch)
treea9cc1ad7fd5226927ff82ed3ee2cc12bd0f5f44c /opcodes
parentefda024297b5add28bbcb35d3a8d9261d1fdac55 (diff)
downloadgdb-a01eda858f5dc30309e79650b4cc9775416665af.zip
gdb-a01eda858f5dc30309e79650b4cc9775416665af.tar.gz
gdb-a01eda858f5dc30309e79650b4cc9775416665af.tar.bz2
gas: blackfin: fix DBG/DBGCMPLX insn encoding
Some extended registers when given to the DBG/DBGCMPLX pseudo insns are not encoded properly. So fix them, fix the display of them when being disassembled, and add testcases. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/bfin-dis.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 171d5e6..eede95a 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,5 +1,9 @@
2010-09-22 Robin Getz <robin.getz@analog.com>
+ * bfin-dis.c (decode_pseudoDEBUG_0): Add space after DBG.
+
+2010-09-22 Robin Getz <robin.getz@analog.com>
+
* bfin-dis.c (machine_registers): Add AC0_COPY, V_COPY, and RND_MOD.
(reg_names): Likewise.
(decode_statbits): Likewise; while reformatting to make manageable.
diff --git a/opcodes/bfin-dis.c b/opcodes/bfin-dis.c
index 042db20..e58917b 100644
--- a/opcodes/bfin-dis.c
+++ b/opcodes/bfin-dis.c
@@ -4561,7 +4561,7 @@ decode_pseudoDEBUG_0 (TIword iw0, disassemble_info *outf)
}
else if (fn == 0)
{
- OUTS (outf, "DBG");
+ OUTS (outf, "DBG ");
OUTS (outf, allregs (reg, grp));
}
else if (fn == 1)