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.
This commit is contained in:
parent
f486487f55
commit
b1c59ddc80
|
@ -1,3 +1,8 @@
|
|||
2015-07-31 Simon Marchi <simon.marchi@ericsson.com>
|
||||
|
||||
* remote-m32r-sdi.c (m32r_remove_watchpoint): Use enum type
|
||||
instead of integer.
|
||||
|
||||
2015-07-31 Simon Marchi <simon.marchi@ericsson.com>
|
||||
|
||||
* aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Use enum
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue