aboutsummaryrefslogtreecommitdiff
path: root/opcodes/bfin-dis.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-02-22 20:51:42 +0000
committerMike Frysinger <vapier@gentoo.org>2011-02-22 20:51:42 +0000
commitf5caf9f43499f4b97f75c01351f9e55005636708 (patch)
tree6fa49de19098488b386eeca6ed6b1123e206d804 /opcodes/bfin-dis.c
parent79b97fa8ff1d827712174972da56d3936ef54cb7 (diff)
downloadgdb-f5caf9f43499f4b97f75c01351f9e55005636708.zip
gdb-f5caf9f43499f4b97f75c01351f9e55005636708.tar.gz
gdb-f5caf9f43499f4b97f75c01351f9e55005636708.tar.bz2
opcodes: blackfin: use OUTS helper
We have an OUTS helper to handle outf fprintf_func logic, so conver the few places not using it over. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'opcodes/bfin-dis.c')
-rw-r--r--opcodes/bfin-dis.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/opcodes/bfin-dis.c b/opcodes/bfin-dis.c
index a475c23..9b834a4 100644
--- a/opcodes/bfin-dis.c
+++ b/opcodes/bfin-dis.c
@@ -4781,9 +4781,9 @@ print_insn_bfin (bfd_vma pc, disassemble_info *outf)
int len;
parallel = 1;
- outf->fprintf_func (outf->stream, " || ");
+ OUTS (outf, " || ");
len = _print_insn_bfin (pc + 4, outf);
- outf->fprintf_func (outf->stream, " || ");
+ OUTS (outf, " || ");
if (len != 2)
legal = 0;
len = _print_insn_bfin (pc + 6, outf);
@@ -4794,7 +4794,7 @@ print_insn_bfin (bfd_vma pc, disassemble_info *outf)
count = 8;
else
{
- outf->fprintf_func (outf->stream, ";\t\t/* ILLEGAL PARALLEL INSTRUCTION */");
+ OUTS (outf, ";\t\t/* ILLEGAL PARALLEL INSTRUCTION */");
comment = 1;
count = 0;
}
@@ -4802,7 +4802,7 @@ print_insn_bfin (bfd_vma pc, disassemble_info *outf)
}
if (!comment)
- outf->fprintf_func (outf->stream, ";");
+ OUTS (outf, ";");
if (count == 0)
return 2;