gdbserver: decouple x86 watchpoint / hw breakpoint routines from Z packet numbers.
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index ad2b1ae2a3de80ddb5293f736c1e0d63330da2a3..c419e43c9f2e4251e4f2a6fc4617b15dfef10a0e 100644 (file)
@@ -1,3 +1,22 @@
+2014-04-23  Pedro Alves  <palves@redhat.com>
+
+       * i386-low.c: Don't include break-common.h here.
+       (i386_low_insert_watchpoint, i386_low_remove_watchpoint): Change
+       prototype to take target_hw_bp_type as argument instead of a Z
+       packet char.
+       * i386-low.h: Include break-common.h here.
+       (Z_packet_to_hw_type): Declare.
+       (i386_low_insert_watchpoint, i386_low_remove_watchpoint): Change
+       prototypes.
+       * linux-x86-low.c (x86_insert_point): Convert the packet number to
+       a target_hw_bp_type before calling i386_low_insert_watchpoint.
+       (x86_remove_point): Convert the packet number to a
+       target_hw_bp_type before calling i386_low_remove_watchpoint.
+       * win32-i386-low.c (i386_insert_point): Convert the packet number
+       to a target_hw_bp_type before calling i386_low_insert_watchpoint.
+       (i386_remove_point): Convert the packet number to a
+       target_hw_bp_type before calling i386_low_remove_watchpoint.
+
 2014-04-23  Pedro Alves  <palves@redhat.com>
 
        * utils.h (perror_with_name): Add ATTRIBUTE_NORETURN.
This page took 0.039973 seconds and 4 git commands to generate.