From a2b2297a204898fa273a825d82385ce1b48941e3 Mon Sep 17 00:00:00 2001 From: Tankut Baris Aktemur Date: Mon, 17 Feb 2020 16:11:54 +0100 Subject: gdbserver: turn target op 'supports_z_point_type' into a method gdbserver/ChangeLog: 2020-02-20 Tankut Baris Aktemur Turn process_stratum_target's supports_z_point_type op into a method of process_target. * target.h (struct process_stratum_target): Remove the target op. (class process_target): Add the target op. * target.cc (process_target::supports_z_point_type): Define. Update the derived classes and callers below. * mem-break.cc (z_type_supported): Update. * linux-low.cc (linux_target_ops): Update. (linux_supports_z_point_type): Turn into ... (linux_process_target::supports_z_point_type): ... this. * linux-low.h (class linux_process_target): Update. * lynx-low.cc (lynx_target_ops): Update. * nto-low.cc (nto_target_ops): Update. (nto_supports_z_point_type): Turn into ... (nto_process_target::supports_z_point_type): ... this. * nto-low.h (class nto_process_target): Update. * win32-low.cc (win32_target_ops): Update. (win32_supports_z_point_type): Turn into ... (win32_process_target::supports_z_point_type): ... this. * win32-low.h (class win32_process_target): Update. --- gdbserver/nto-low.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gdbserver/nto-low.h') diff --git a/gdbserver/nto-low.h b/gdbserver/nto-low.h index e135dd3..65bbf7e 100644 --- a/gdbserver/nto-low.h +++ b/gdbserver/nto-low.h @@ -84,6 +84,8 @@ public: int read_auxv (CORE_ADDR offset, unsigned char *myaddr, unsigned int len) override; + + bool supports_z_point_type (char z_type) override; }; /* The inferior's target description. This is a global because the -- cgit v1.1