aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-12-31 21:02:35 +1030
committerAlan Modra <amodra@gmail.com>2016-12-31 21:11:17 +1030
commitae4c0df4b6a76db172cc4d4c3f34fdd8064c80ed (patch)
treef62570f678c7f5e82ddb19b2b8b0df9cf9262843 /opcodes
parentb7aba156196caf59117741eae5e93b578d0b59f4 (diff)
downloadgdb-ae4c0df4b6a76db172cc4d4c3f34fdd8064c80ed.zip
gdb-ae4c0df4b6a76db172cc4d4c3f34fdd8064c80ed.tar.gz
gdb-ae4c0df4b6a76db172cc4d4c3f34fdd8064c80ed.tar.bz2
Fix riscv breakage
* disassemble.c (disassembler): Add break accidentally removed by PRU patch.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/disassemble.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 843c8d7..fd78dd3 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2016-12-31 Alan Modra <amodra@gmail.com>
+
+ * disassemble.c (disassembler): Add break accidentally removed
+ by PRU patch.
+
2016-12-31 Dimitar Dimitrov <dimitar@dinux.eu>
* Makefile.am: Add PRU source files.
diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c
index aeed703..fd24857 100644
--- a/opcodes/disassemble.c
+++ b/opcodes/disassemble.c
@@ -384,6 +384,7 @@ disassembler (bfd *abfd)
#ifdef ARCH_riscv
case bfd_arch_riscv:
disassemble = print_insn_riscv;
+ break;
#endif
#ifdef ARCH_rs6000
case bfd_arch_rs6000: