From 0dd7b52ede3de7c5e43cc7c0a52a4e2f2b4297b7 Mon Sep 17 00:00:00 2001 From: Tankut Baris Aktemur Date: Thu, 2 Apr 2020 15:11:32 +0200 Subject: gdbserver/linux-low: delete 'linux_target_ops' and 'the_low_target' All the linux target ops have been moved into linux_process_target as methods. The 'linux_target_ops' struct and its instantiations are now obsolete. Delete them. gdbserver/ChangeLog: 2020-04-02 Tankut Baris Aktemur * linux-low.h (struct linux_target_ops): Remove. (the_low_target): Remove. * linux-x86-low.cc (the_low_target): Remove. * linux-aarch64-low.cc (the_low_target): Ditto. * linux-arm-low.cc (the_low_target): Ditto. * linux-bfin-low.cc (the_low_target): Ditto. * linux-cris-low.cc (the_low_target): Ditto. * linux-crisv32-low.cc (the_low_target): Ditto. * linux-ia64-low.cc (the_low_target): Ditto. * linux-m32r-low.cc (the_low_target): Ditto. * linux-m68k-low.cc (the_low_target): Ditto. * linux-mips-low.cc (the_low_target): Ditto. * linux-nios2-low.cc (the_low_target): Ditto. * linux-ppc-low.cc (the_low_target): Ditto. * linux-riscv-low.cc (the_low_target): Ditto. * linux-s390-low.cc (the_low_target): Ditto. * linux-sh-low.cc (the_low_target): Ditto. * linux-sparc-low.cc (the_low_target): Ditto. * linux-tic6x-low.cc (the_low_target): Ditto. * linux-tile-low.cc (the_low_target): Ditto. * linux-xtensa-low.cc (the_low_target): Ditto. --- gdbserver/linux-tic6x-low.cc | 5 ----- 1 file changed, 5 deletions(-) (limited to 'gdbserver/linux-tic6x-low.cc') diff --git a/gdbserver/linux-tic6x-low.cc b/gdbserver/linux-tic6x-low.cc index adcc410..09f9748 100644 --- a/gdbserver/linux-tic6x-low.cc +++ b/gdbserver/linux-tic6x-low.cc @@ -200,8 +200,6 @@ static int tic6x_regmap_c62x[] = { #endif -extern struct linux_target_ops the_low_target; - static int *tic6x_regmap; static unsigned int tic6x_breakpoint; #define tic6x_breakpoint_len 4 @@ -414,9 +412,6 @@ tic6x_target::get_regs_info () return &myregs_info; } -struct linux_target_ops the_low_target = { -}; - #if GDB_SELF_TEST #include "gdbsupport/selftest.h" -- cgit v1.1