aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/linux-riscv-low.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gdbserver/linux-riscv-low.cc')
-rw-r--r--gdbserver/linux-riscv-low.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/gdbserver/linux-riscv-low.cc b/gdbserver/linux-riscv-low.cc
index 07ae617..04f3a99 100644
--- a/gdbserver/linux-riscv-low.cc
+++ b/gdbserver/linux-riscv-low.cc
@@ -30,6 +30,18 @@
# define NFPREG 33
#endif
+/* Linux target op definitions for the RISC-V architecture. */
+
+class riscv_target : public linux_process_target
+{
+public:
+
+};
+
+/* The singleton target ops object. */
+
+static riscv_target the_riscv_target;
+
/* Implementation of linux_target_ops method "arch_setup". */
static void
@@ -270,6 +282,10 @@ struct linux_target_ops the_low_target =
riscv_breakpoint_at,
};
+/* The linux target ops object. */
+
+linux_process_target *the_linux_target = &the_riscv_target;
+
/* Initialize the RISC-V/Linux target. */
void