aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-dis.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/i386-dis.c')
-rw-r--r--opcodes/i386-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index 4e036f7..4058dce 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -3782,7 +3782,7 @@ print_insn (bfd_vma pc, disassemble_info *info)
}
}
- if (putop (dp->name, sizeflag) == 0)
+ if (dp->name != NULL && putop (dp->name, sizeflag) == 0)
{
for (i = 0; i < MAX_OPERANDS; ++i)
{