projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add target_ops argument to to_region_ok_for_hw_watchpoint
[deliverable/binutils-gdb.git]
/
gdb
/
spu-multiarch.c
diff --git
a/gdb/spu-multiarch.c
b/gdb/spu-multiarch.c
index c3263bad9cb5f8928099b1fe7f88bfa7965eb0fd..bd6c836615af55879c90fede542d551e225fb468 100644
(file)
--- 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
/* 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)
{
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 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;
}
return 0;
}
This page took
0.024522 seconds
and
4
git commands to generate.