aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-m32r-sdi.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2015-07-31 14:08:14 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2015-07-31 14:08:14 -0400
commitb1c59ddc809bc4ad2c082b5cae02a18c68746257 (patch)
tree457ee6dd9ec55f1b58d33808b03aa59ef0a00f01 /gdb/remote-m32r-sdi.c
parentf486487f558686c05d4f4d91a75638b9da399044 (diff)
downloadgdb-b1c59ddc809bc4ad2c082b5cae02a18c68746257.zip
gdb-b1c59ddc809bc4ad2c082b5cae02a18c68746257.tar.gz
gdb-b1c59ddc809bc4ad2c082b5cae02a18c68746257.tar.bz2
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.
Diffstat (limited to 'gdb/remote-m32r-sdi.c')
-rw-r--r--gdb/remote-m32r-sdi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/remote-m32r-sdi.c b/gdb/remote-m32r-sdi.c
index 9c63fd5..2597f6d 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;