aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/linux-tic6x-low.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gdbserver/linux-tic6x-low.cc')
-rw-r--r--gdbserver/linux-tic6x-low.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/gdbserver/linux-tic6x-low.cc b/gdbserver/linux-tic6x-low.cc
index 4c621c0..47ca988 100644
--- a/gdbserver/linux-tic6x-low.cc
+++ b/gdbserver/linux-tic6x-low.cc
@@ -44,6 +44,9 @@ class tic6x_target : public linux_process_target
{
public:
+protected:
+
+ void low_arch_setup () override;
};
/* The singleton target ops object. */
@@ -326,8 +329,8 @@ static struct regset_info tic6x_regsets[] = {
NULL_REGSET
};
-static void
-tic6x_arch_setup (void)
+void
+tic6x_target::low_arch_setup ()
{
register unsigned int csr asm ("B2");
unsigned int cpuid;
@@ -398,7 +401,6 @@ tic6x_regs_info (void)
}
struct linux_target_ops the_low_target = {
- tic6x_arch_setup,
tic6x_regs_info,
tic6x_cannot_fetch_register,
tic6x_cannot_store_register,