]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/arm-linux-nat.c
Add target_ops argument to to_can_use_hw_breakpoint
[thirdparty/binutils-gdb.git] / gdb / arm-linux-nat.c
index 9fa5f5b16635bb439e191074c98a26082f6b1935..a1a9cc58fe4b72e9d0fe68ceb1a57489a38b6cd7 100644 (file)
@@ -747,7 +747,8 @@ arm_linux_get_hw_watchpoint_count (void)
 /* Have we got a free break-/watch-point available for use?  Returns -1 if
    there is not an appropriate resource available, otherwise returns 1.  */
 static int
-arm_linux_can_use_hw_breakpoint (int type, int cnt, int ot)
+arm_linux_can_use_hw_breakpoint (struct target_ops *self,
+                                int type, int cnt, int ot)
 {
   if (type == bp_hardware_watchpoint || type == bp_read_watchpoint
       || type == bp_access_watchpoint || type == bp_watchpoint)