Implement stopped_by_sw_breakpoint for Windows gdbserver
[deliverable/binutils-gdb.git] / gdbserver / ChangeLog
index e72741357d586a683895d0f3903fd74545883520..36d6f29e424400067bbdb8d27919ab09d3e054cc 100644 (file)
@@ -1,3 +1,96 @@
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * win32-low.h  (win32_process_target::stopped_by_sw_breakpoint)
+       (win32_process_target::supports_stopped_by_sw_breakpoint):
+       Declare.
+       * win32-low.c (win32_supports_z_point_type): Always handle
+       Z_PACKET_SW_BP.
+       (win32_insert_point): Call insert_memory_breakpoint when needed.
+       (win32_remove_point): Call remove_memory_breakpoint when needed.
+       (win32_process_target::stopped_by_sw_breakpoint)
+       (win32_process_target::supports_stopped_by_sw_breakpoint): New
+       methods.
+       (win32_target_ops): Update.
+       (maybe_adjust_pc): New function.
+       (win32_wait): Call maybe_adjust_pc.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * win32-low.h (struct win32_target_ops) <decr_pc_after_break>: New
+       field.
+       * win32-i386-low.c (the_low_target): Update.
+       * win32-arm-low.c (the_low_target): Update.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * win32-low.h (win32_process_target::read_pc)
+       (win32_process_target::write_pc): Declare.
+       * win32-low.c (win32_process_target::read_pc)
+       (win32_process_target::write_pc): New methods.
+       * win32-i386-low.c (i386_win32_get_pc, i386_win32_set_pc): New
+       functions.
+       (the_low_target): Update.
+       * win32-arm-low.c (arm_win32_get_pc, arm_win32_set_pc): New
+       functions.
+       (the_low_target): Update.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * win32-low.c (win32_kill, get_child_debug_event): Use
+       wait_for_debug_event.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * win32-low.c (child_continue): Call continue_last_debug_event.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * win32-low.c (handle_exception): Remove.
+       (windows_nat::handle_ms_vc_exception): New function.
+       (get_child_debug_event): Add "continue_status" parameter.
+       Update.
+       (win32_wait): Update.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * win32-low.c (windows_nat::handle_load_dll): Rename from
+       handle_load_dll.  No longer static.
+       (windows_nat::handle_unload_dll): Rename from handle_unload_dll.
+       No longer static.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * win32-low.c (handle_output_debug_string): Add parameter.  Change
+       return type.
+       (win32_kill, get_child_debug_event): Update.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * win32-low.c (current_process_handle, current_process_id)
+       (main_thread_id, last_sig, current_event, siginfo_er): Move to
+       nat/windows-nat.c.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * win32-low.c (get_image_name): Remove.
+       (handle_load_dll): Update.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * win32-low.c (windows_nat::thread_rec): Rename from thread_rec.
+       No longer static.  Change parameters.
+       (child_add_thread, child_fetch_inferior_registers)
+       (child_store_inferior_registers, win32_resume)
+       (win32_get_tib_address): Update.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * win32-low.h (struct win32_target_ops): Use qualified names where
+       needed.
+       * win32-i386-low.c: Add "using namespace".
+       * win32-low.c: Add "using namespace".
+       * win32-arm-low.c: Add "using namespace".
+
 2020-04-08  Tom Tromey  <tromey@adacore.com>
 
        * win32-low.c (delete_thread_info): Don't call CloseHandle.
This page took 0.032986 seconds and 4 git commands to generate.