aboutsummaryrefslogtreecommitdiff
path: root/opcodes/riscv-dis.c
diff options
context:
space:
mode:
authorDilyan Palauzov <dilyan.palauzov@aegee.org>2017-01-03 16:02:36 +0000
committerNick Clifton <nickc@redhat.com>2017-01-03 16:02:36 +0000
commitb52d3cfcfb472263eca181da37dfc0377978acba (patch)
treea078cf19b076138a9d7edf249c260545f3f725e0 /opcodes/riscv-dis.c
parentf90c58d59339ae3e0593cd6e464775973b7c259c (diff)
downloadgdb-b52d3cfcfb472263eca181da37dfc0377978acba.zip
gdb-b52d3cfcfb472263eca181da37dfc0377978acba.tar.gz
gdb-b52d3cfcfb472263eca181da37dfc0377978acba.tar.bz2
Add fall through comment.
* riscv-dis.c (print_insn_args): Add fall through comment.
Diffstat (limited to 'opcodes/riscv-dis.c')
-rw-r--r--opcodes/riscv-dis.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/opcodes/riscv-dis.c b/opcodes/riscv-dis.c
index 070c96e..20b6854 100644
--- a/opcodes/riscv-dis.c
+++ b/opcodes/riscv-dis.c
@@ -255,6 +255,7 @@ print_insn_args (const char *d, insn_t l, bfd_vma pc, disassemble_info *info)
case 'o':
maybe_print_address (pd, rs1, EXTRACT_ITYPE_IMM (l));
+ /* Fall through. */
case 'j':
if (((l & MASK_ADDI) == MATCH_ADDI && rs1 != 0)
|| (l & MASK_JALR) == MATCH_JALR)