add "this" pointers to more target APIs
[deliverable/binutils-gdb.git] / gdb / aarch64-linux-nat.c
index 31c26c63ccbaf814b339bddc6aa74068fc753040..703c4ed96e92a9dc58e5226cae4a010c55f70c72 100644 (file)
@@ -1476,11 +1476,11 @@ aarch64_linux_stopped_data_address (struct target_ops *target,
 /* Implement the "to_stopped_by_watchpoint" target_ops method.  */
 
 static int
-aarch64_linux_stopped_by_watchpoint (void)
+aarch64_linux_stopped_by_watchpoint (struct target_ops *ops)
 {
   CORE_ADDR addr;
 
-  return aarch64_linux_stopped_data_address (&current_target, &addr);
+  return aarch64_linux_stopped_data_address (ops, &addr);
 }
 
 /* Implement the "to_watchpoint_addr_within_range" target_ops method.  */
This page took 0.02615 seconds and 4 git commands to generate.