add "this" pointers to more target APIs
[deliverable/binutils-gdb.git] / gdb / i386-nat.c
index 034bf5126b0af35572c9e8be595b50a18c922538..23edc38a4044184cf64fd3e8b27caeebbadcbb5c 100644 (file)
@@ -756,10 +756,10 @@ i386_stopped_data_address (struct target_ops *ops, CORE_ADDR *addr_p)
 }
 
 static int
-i386_stopped_by_watchpoint (void)
+i386_stopped_by_watchpoint (struct target_ops *ops)
 {
   CORE_ADDR addr = 0;
-  return i386_stopped_data_address (&current_target, &addr);
+  return i386_stopped_data_address (ops, &addr);
 }
 
 /* Insert a hardware-assisted breakpoint at BP_TGT->placed_address.
This page took 0.023593 seconds and 4 git commands to generate.