Implement stopped_by_sw_breakpoint for Windows gdbserver
[deliverable/binutils-gdb.git] / gdbserver / ChangeLog
index 792834077feddd098ab54a03487a4440cf550af0..36d6f29e424400067bbdb8d27919ab09d3e054cc 100644 (file)
@@ -1,3 +1,39 @@
+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
This page took 0.027011 seconds and 4 git commands to generate.