aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/riscv-dis.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index bb44bdf..7de68fd 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2017-01-03 Dilyan Palauzov <dilyan.palauzov@aegee.org>
+
+ * riscv-dis.c (print_insn_args): Add fall through comment.
+
2017-01-03 Nick Clifton <nickc@redhat.com>
* po/sr.po: New Serbian translation.
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)