From b1c59ddc809bc4ad2c082b5cae02a18c68746257 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Fri, 31 Jul 2015 14:08:14 -0400 Subject: Fix m32r_remove_watchpoint parameter type This change should have been in the previous patch (Mostly trivial enum fixes). gdb/ChangeLog: * remote-m32r-sdi.c (m32r_remove_watchpoint): Use enum type instead of integer. --- gdb/remote-m32r-sdi.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gdb/remote-m32r-sdi.c') diff --git a/gdb/remote-m32r-sdi.c b/gdb/remote-m32r-sdi.c index 9c63fd52840..2597f6d8716 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; -- cgit v1.2.1