diff options
author | Nick Clifton <nickc@redhat.com> | 2016-03-01 10:52:24 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2016-03-01 10:52:24 +0000 |
commit | 020efce52a569bde99f64b20cedbec2b2a5b5fe9 (patch) | |
tree | de8d5c0f5995b42eb96faef4338372f65f07a71a /opcodes/rl78-dis.c | |
parent | efd5b507cc9261b03d547575d9f6453a1425bd59 (diff) | |
download | gdb-020efce52a569bde99f64b20cedbec2b2a5b5fe9.zip gdb-020efce52a569bde99f64b20cedbec2b2a5b5fe9.tar.gz gdb-020efce52a569bde99f64b20cedbec2b2a5b5fe9.tar.bz2 |
Fix typo in print_insn_rl78_common function.
PR target/19747
* rl78-dis.c (print_insn_rl78_common): Fix typo.
Diffstat (limited to 'opcodes/rl78-dis.c')
-rw-r--r-- | opcodes/rl78-dis.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/opcodes/rl78-dis.c b/opcodes/rl78-dis.c index 6784e53..a23999d 100644 --- a/opcodes/rl78-dis.c +++ b/opcodes/rl78-dis.c @@ -229,7 +229,8 @@ print_insn_rl78_common (bfd_vma addr, disassemble_info * dis, RL78_Dis_Isa isa) if (do_bang) { /* If we are going to display SP by name, we must omit the bang. */ - if ((oper->type == RL78_Operand_Indirect || RL78_Operand_BitIndirect) + if ((oper->type == RL78_Operand_Indirect + || oper->type == RL78_Operand_BitIndirect) && oper->reg == RL78_Reg_None && do_sfr && ((oper->addend == 0xffff8 && opcode.size == RL78_Word) |