aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/linux-low.h
diff options
context:
space:
mode:
authorTankut Baris Aktemur <tankut.baris.aktemur@intel.com>2020-04-02 15:11:29 +0200
committerTankut Baris Aktemur <tankut.baris.aktemur@intel.com>2020-04-02 15:11:29 +0200
commita5b5da9258db39b9b15ae2796ab637c73ba20422 (patch)
treed2a84626ee8297526b646d76dab85856698ab287 /gdbserver/linux-low.h
parentd7599cc0826fd7052d3ab52f3a4350d6769c03b5 (diff)
downloadgdb-a5b5da9258db39b9b15ae2796ab637c73ba20422.zip
gdb-a5b5da9258db39b9b15ae2796ab637c73ba20422.tar.gz
gdb-a5b5da9258db39b9b15ae2796ab637c73ba20422.tar.bz2
gdbserver/linux-low: turn 'process_qsupported' into a method
gdbserver/ChangeLog: 2020-04-02 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> Remove the 'process_qsupported' linux target op and let a concrete linux target define the op by overriding the op declaration in process_stratum_target. * linux-low.h (struct linux_target_ops): Remove the op. (class linux_process_target) <process_qsupported>: Remove. * linux-low.cc (linux_process_target::process_qsupported): Remove. * linux-x86-low.cc (class x86_target) <process_qsupported>: Declare. (x86_linux_process_qsupported): Turn into... (x86_target::process_qsupported): ...this. (the_low_target): Remove the op field. * linux-aarch64-low.cc (the_low_target): Remove the op field. * linux-arm-low.cc (the_low_target): Ditto. * linux-bfin-low.cc (the_low_target): Ditto. * linux-crisv32-low.cc (the_low_target): Ditto. * linux-m32r-low.cc (the_low_target): Ditto. * linux-m68k-low.cc (the_low_target): Ditto. * linux-ppc-low.cc (the_low_target): Ditto. * linux-s390-low.cc (the_low_target): Ditto. * linux-sh-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.
Diffstat (limited to 'gdbserver/linux-low.h')
-rw-r--r--gdbserver/linux-low.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdbserver/linux-low.h b/gdbserver/linux-low.h
index 49fbc5e..bc45e3f 100644
--- a/gdbserver/linux-low.h
+++ b/gdbserver/linux-low.h
@@ -131,9 +131,6 @@ struct lwp_info;
struct linux_target_ops
{
- /* Hook to support target specific qSupported. */
- void (*process_qsupported) (char **, int count);
-
/* Returns true if the low target supports tracepoints. */
int (*supports_tracepoints) (void);
@@ -299,8 +296,6 @@ public:
unsigned char *myaddr, unsigned int len) override;
#endif
- void process_qsupported (char **features, int count) override;
-
bool supports_tracepoints () override;
CORE_ADDR read_pc (regcache *regcache) override;