diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a4074568ec..66ef8a1c2c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2015-07-31 Simon Marchi + + * remote-m32r-sdi.c (m32r_remove_watchpoint): Use enum type + instead of integer. + 2015-07-31 Simon Marchi * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Use enum diff --git a/gdb/remote-m32r-sdi.c b/gdb/remote-m32r-sdi.c index 9c63fd5284..2597f6d871 100644 --- a/gdb/remote-m32r-sdi.c +++ b/gdb/remote-m32r-sdi.c @@ -1461,9 +1461,8 @@ m32r_insert_watchpoint (struct target_ops *self, } static int -m32r_remove_watchpoint (struct target_ops *self, - CORE_ADDR addr, int len, int type, - struct expression *cond) +m32r_remove_watchpoint (struct target_ops *self, CORE_ADDR addr, int len, + enum target_hw_bp_type type, struct expression *cond) { int i;