]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdbserver/ChangeLog
gdbserver: turn target ops 'fetch_registers' and 'store_registers' into methods
[thirdparty/binutils-gdb.git] / gdbserver / ChangeLog
index ac10f27f556dc5756303d3283e2592f75e8b4b4c..73adc6542a4e223d3d877315eca7732437117cb1 100644 (file)
@@ -1,3 +1,189 @@
+2020-02-20  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       Turn process_stratum_target's fetch_registers and store_registers
+       ops into methods of process_target.
+
+       * target.h (struct process_stratum_target): Remove the target ops.
+       (class process_target): Add the target ops.
+       (fetch_inferior_registers): Update the macro.
+       (store_inferior_registers): Update the macro.
+
+       Update the derived classes and callers below.
+
+       * linux-low.cc (linux_target_ops): Update.
+       (linux_fetch_registers): Turn into ...
+       (linux_process_target::fetch_registers): ... this.
+       (linux_store_registers): Turn into ...
+       (linux_process_target::store_registers): ... this.
+       * linux-low.h (class linux_process_target): Update.
+       * lynx-low.cc (lynx_target_ops): Update.
+       (lynx_fetch_registers): Turn into ...
+       (lynx_process_target::fetch_registers): ... this.
+       (lynx_store_registers): Turn into ...
+       (lynx_process_target::store_registers): ... this.
+       * lynx-low.h (class lynx_process_target): Update.
+       * nto-low.cc (nto_target_ops): Update.
+       (nto_fetch_registers): Turn into ...
+       (nto_process_target::fetch_registers): ... this.
+       (nto_store_registers): Turn into ...
+       (nto_process_target::store_registers): ... this.
+       * nto-low.h (class nto_process_target): Update.
+       * win32-low.cc (win32_target_ops): Update.
+       (win32_fetch_inferior_registers): Turn into ...
+       (win32_process_target::fetch_registers): ... this.
+       (win32_store_inferior_registers): Turn into ...
+       (win32_process_target::store_registers): ... this.
+       * win32-low.h (class win32_process_target): Update.
+
+2020-02-20  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       Turn process_stratum_target's wait op into a method of
+       process_target.
+
+       * target.h (struct process_stratum_target): Remove the target op.
+       (class process_target): Add the target op.
+
+       Update the derived classes and callers below.
+
+       * target.cc (target_wait): Update.
+       * linux-low.cc (linux_target_ops): Update.
+       (linux_wait): Turn into ...
+       (linux_process_target::wait): ... this.
+       * linux-low.h (class linux_process_target): Update.
+       * lynx-low.cc (lynx_target_ops): Update.
+       (lynx_wait): Turn into ...
+       (lynx_process_target::wait): ... this.
+       * lynx-low.h (class lynx_process_target): Update.
+       * nto-low.cc (nto_target_ops): Update.
+       (nto_wait): Turn into ...
+       (nto_process_target::wait): ... this.
+       * nto-low.h (class nto_process_target): Update.
+       * win32-low.cc (win32_target_ops): Update.
+       (win32_wait): Turn into ...
+       (win32_process_target::wait): ... this.
+       (do_initial_child_stuff): Update.
+       * win32-low.h (class win32_process_target): Update.
+
+2020-02-20  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       Turn process_stratum_target's resume op into a method of
+       process_target.
+
+       * target.h (struct process_stratum_target): Remove the target op.
+       (class process_target): Add the target op.
+
+       Update the derived classes and callers below.
+
+       * server.cc (resume): Update.
+       * target.cc (target_stop_and_wait): Update.
+       (target_continue_no_signal): Update.
+       (target_continue): Update.
+       * linux-low.cc (linux_target_ops): Update.
+       (linux_resume): Turn into ...
+       (linux_process_target::resume): ... this.
+       * linux-low.h (class linux_process_target): Update.
+       * lynx-low.cc (lynx_target_ops): Update.
+       (lynx_resume): Turn into ...
+       (lynx_process_target::resume): ... this.
+       * lynx-low.h (class lynx_process_target): Update.
+       * nto-low.cc (nto_target_ops): Update.
+       (nto_resume): Turn into ...
+       (nto_process_target::resume): ... this.
+       * nto-low.h (class nto_process_target): Update.
+       * win32-low.cc (win32_target_ops): Update.
+       (win32_resume): Turn into ...
+       (win32_process_target::resume): ... this.
+       (win32_process_target::detach): Update.
+       (do_initial_child_stuff): Update.
+       * win32-low.h (class win32_process_target): Update.
+
+2020-02-20  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       Turn process_stratum_target's thread_alive op into a method of
+       process_target.
+
+       * target.h (struct process_stratum_target): Remove the target op.
+       (class process_target): Add the target op.
+       (mythread_alive): Update the macro.
+
+       Update the derived classes and callers below.
+
+       * linux-low.cc (linux_target_ops): Update.
+       (linux_thread_alive): Turn into ...
+       (linux_process_target::thread_alive): ... this.
+       (wait_for_sigstop): Update.
+       * linux-low.h (class linux_process_target): Update.
+       * lynx-low.cc (lynx_target_ops): Update.
+       (lynx_thread_alive): Turn into ...
+       (lynx_process_target::thread_alive): ... this.
+       * lynx-low.h (class lynx_process_target): Update.
+       * nto-low.cc (nto_target_ops): Update.
+       (nto_thread_alive): Turn into ...
+       (nto_process_target::thread_alive): ... this.
+       * nto-low.h (class nto_process_target): Update.
+       * win32-low.cc (win32_target_ops): Update.
+       (win32_thread_alive): Turn into ...
+       (win32_process_target::thread_alive): ... this.
+       * win32-low.h (class win32_process_target): Update.
+
+2020-02-20  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       Turn process_stratum_target's join op into a method of
+       process_target.
+
+       * target.h (struct process_stratum_target): Remove the target op.
+       (class process_target): Add the target op.
+       (join_inferior): Update the macro.
+
+       Update the derived classes and callers below.
+
+       * linux-low.cc (linux_target_ops): Update.
+       (linux_join): Turn into ...
+       (linux_process_target::join): ... this.
+       * linux-low.h (class linux_process_target): Update.
+       * lynx-low.cc (lynx_target_ops): Update.
+       (lynx_join): Turn into ...
+       (lynx_process_target::join): ... this.
+       * lynx-low.h (class lynx_process_target): Update.
+       * nto-low.cc (nto_target_ops): Update.
+       (nto_process_target::join): Define.
+       * nto-low.h (class nto_process_target): Update.
+       * win32-low.cc (win32_target_ops): Update.
+       (win32_join): Turn into ...
+       (win32_process_target::join): ... this.
+       * win32-low.h (class win32_process_target): Update.
+
+2020-02-20  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       Turn process_stratum_target's mourn op into a method of
+       process_target.
+
+       * target.h (struct process_stratum_target): Remove the target op.
+       (class process_target): Add the target op.
+
+       Update the derived classes and callers below.
+
+       * target.cc (target_mourn_inferior): Update.
+       * linux-low.cc (linux_target_ops): Update.
+       (linux_mourn): Turn into ...
+       (linux_process_target::mourn): ... this.
+       (handle_extended_wait): Update.
+       (linux_process_target::kill): Update.
+       (linux_process_target::detach): Update.
+       * linux-low.h (class linux_process_target): Update.
+       * lynx-low.cc (lynx_target_ops): Update.
+       (lynx_mourn): Turn into ...
+       (lynx_process_target::mourn): ... this.
+       * lynx-low.h (class lynx_process_target): Update.
+       * nto-low.cc (nto_target_ops): Update.
+       (nto_mourn): Turn into ...
+       (nto_process_target::mourn): ... this.
+       * nto-low.h (class nto_process_target): Update.
+       * win32-low.cc (win32_target_ops): Update.
+       (win32_mourn): Turn into ...
+       (win32_process_target::mourn): ... this.
+       * win32-low.h (class win32_process_target): Update.
+
 2020-02-20  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
 
        Turn process_stratum_target's detach op into a method of