aboutsummaryrefslogtreecommitdiff
path: root/disas
diff options
context:
space:
mode:
Diffstat (limited to 'disas')
-rw-r--r--disas/hppa.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/disas/hppa.c b/disas/hppa.c
index 22dce9b41b..49e2231ae6 100644
--- a/disas/hppa.c
+++ b/disas/hppa.c
@@ -1972,9 +1972,11 @@ print_insn_hppa (bfd_vma memaddr, disassemble_info *info)
insn = bfd_getb32 (buffer);
- info->fprintf_func(info->stream, " %02x %02x %02x %02x ",
- (insn >> 24) & 0xff, (insn >> 16) & 0xff,
- (insn >> 8) & 0xff, insn & 0xff);
+ if (info->show_opcodes) {
+ info->fprintf_func(info->stream, " %02x %02x %02x %02x ",
+ (insn >> 24) & 0xff, (insn >> 16) & 0xff,
+ (insn >> 8) & 0xff, insn & 0xff);
+ }
for (i = 0; i < NUMOPCODES; ++i)
{