aboutsummaryrefslogtreecommitdiff
path: root/opcodes/disassemble.c
diff options
context:
space:
mode:
authorJim Wilson <jimw@sifive.com>2018-02-22 11:28:51 -0800
committerJim Wilson <jimw@sifive.com>2018-02-22 11:28:51 -0800
commit0bccfb2994d307601ceba5c3a6223b7ca7cf5338 (patch)
tree36367bdd92845e6ff48c3c40e4b7c039991fa57b /opcodes/disassemble.c
parent7bdf778b10b1ab85553a31c104097073214f6430 (diff)
downloadgdb-0bccfb2994d307601ceba5c3a6223b7ca7cf5338.zip
gdb-0bccfb2994d307601ceba5c3a6223b7ca7cf5338.tar.gz
gdb-0bccfb2994d307601ceba5c3a6223b7ca7cf5338.tar.bz2
RISC-V: Make disassebler work for --enable-targets=all config.
opcodes/ * disassemble.c (ARCH_riscv): Define if ARCH_all.
Diffstat (limited to 'opcodes/disassemble.c')
-rw-r--r--opcodes/disassemble.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c
index ae48f536..78f0995 100644
--- a/opcodes/disassemble.c
+++ b/opcodes/disassemble.c
@@ -76,6 +76,7 @@
#define ARCH_pj
#define ARCH_powerpc
#define ARCH_pru
+#define ARCH_riscv
#define ARCH_rs6000
#define ARCH_rl78
#define ARCH_rx