aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch/riscv.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/arch/riscv.c')
-rw-r--r--gdb/arch/riscv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/arch/riscv.c b/gdb/arch/riscv.c
index ca2238d..cb715fa 100644
--- a/gdb/arch/riscv.c
+++ b/gdb/arch/riscv.c
@@ -26,7 +26,7 @@
/* See arch/riscv.h. */
-target_desc *
+const target_desc *
riscv_create_target_description (struct riscv_gdbarch_features features)
{
target_desc *tdesc = allocate_target_description ();