gdbserver: turn target ops 'thread_name' and 'thread_handle' into methods
[deliverable/binutils-gdb.git] / gdbserver / ChangeLog
index 694792265db7bb8439c60bf1d1c3b035d68e63c0..592697aaa48eb57e7d9edc8502f13c81bcef5e4a 100644 (file)
@@ -1,3 +1,25 @@
+2020-02-20  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       Turn process_stratum_target's thread_name and thread_handle ops
+       into methods of process_target.
+
+       * target.h (struct process_stratum_target): Remove the target ops.
+       (class process_target): Add the target ops.
+       (target_thread_name): Update the macro.
+       (target_thread_handle): Update the macro.
+       * target.cc (process_target::thread_name): Define.
+       (process_target::thread_handle): Define.
+
+       Update the derived classes and callers below.
+
+       * linux-low.cc (linux_target_ops): Update.
+       (linux_process_target::thread_name): Define.
+       (linux_process_target::thread_handle): Define.
+       * linux-low.h (class linux_process_target): Update.
+       * lynx-low.cc (lynx_target_ops): Update.
+       * nto-low.cc (nto_target_ops): Update.
+       * win32-low.cc (win32_target_ops): Update.
+
 2020-02-20  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
 
        Turn process_stratum_target's breakpoint_kind_from_pc,
This page took 0.024941 seconds and 4 git commands to generate.