aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc-linux-nat.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:29:57 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:45:36 -0700
commitc3a5ff89630f46c52ca43ee7e73933687815ca18 (patch)
treeb5a647c31e5a589a3140ad8348063d570da534a3 /gdb/ppc-linux-nat.c
parent31568a15a22275374f7a98675c967c83c3f9ac2a (diff)
downloadgdb-c3a5ff89630f46c52ca43ee7e73933687815ca18.zip
gdb-c3a5ff89630f46c52ca43ee7e73933687815ca18.tar.gz
gdb-c3a5ff89630f46c52ca43ee7e73933687815ca18.tar.bz2
Add target_ops argument to to_can_accel_watchpoint_condition
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_can_accel_watchpoint_condition>: Add argument. (target_can_accel_watchpoint_condition): Add argument. * target.c (debug_to_can_accel_watchpoint_condition): Add argument. (update_current_target): Update. * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add 'self' argument.
Diffstat (limited to 'gdb/ppc-linux-nat.c')
-rw-r--r--gdb/ppc-linux-nat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/ppc-linux-nat.c b/gdb/ppc-linux-nat.c
index dd0fe8c..fcfd452 100644
--- a/gdb/ppc-linux-nat.c
+++ b/gdb/ppc-linux-nat.c
@@ -2015,7 +2015,8 @@ check_condition (CORE_ADDR watch_addr, struct expression *cond,
the condition expression, thus only triggering the watchpoint when it is
true. */
static int
-ppc_linux_can_accel_watchpoint_condition (CORE_ADDR addr, int len, int rw,
+ppc_linux_can_accel_watchpoint_condition (struct target_ops *self,
+ CORE_ADDR addr, int len, int rw,
struct expression *cond)
{
CORE_ADDR data_value;