X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fspu-multiarch.c;h=bd6c836615af55879c90fede542d551e225fb468;hb=31568a15a22275374f7a98675c967c83c3f9ac2a;hp=c3263bad9cb5f8928099b1fe7f88bfa7965eb0fd;hpb=9b409511d07fe375284701af34909fb539029caf;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/spu-multiarch.c b/gdb/spu-multiarch.c index c3263bad9c..bd6c836615 100644 --- a/gdb/spu-multiarch.c +++ b/gdb/spu-multiarch.c @@ -118,7 +118,8 @@ spu_thread_architecture (struct target_ops *ops, ptid_t ptid) /* Override the to_region_ok_for_hw_watchpoint routine. */ static int -spu_region_ok_for_hw_watchpoint (CORE_ADDR addr, int len) +spu_region_ok_for_hw_watchpoint (struct target_ops *self, + CORE_ADDR addr, int len) { struct target_ops *ops_beneath = find_target_beneath (&spu_ops); while (ops_beneath && !ops_beneath->to_region_ok_for_hw_watchpoint) @@ -129,7 +130,8 @@ spu_region_ok_for_hw_watchpoint (CORE_ADDR addr, int len) return 0; if (ops_beneath) - return ops_beneath->to_region_ok_for_hw_watchpoint (addr, len); + return ops_beneath->to_region_ok_for_hw_watchpoint (ops_beneath, + addr, len); return 0; }