aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:44:32 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:46:37 -0700
commit61fc905df366744e1501cccd7ba030f50e6c7850 (patch)
treecdf8d7940c9070eb1779f5c85ce0af74481f0cfd /gdb/target.c
parentc378d69dffc04b96a99e08f8df7a117ac0e57dbf (diff)
downloadgdb-61fc905df366744e1501cccd7ba030f50e6c7850.zip
gdb-61fc905df366744e1501cccd7ba030f50e6c7850.tar.gz
gdb-61fc905df366744e1501cccd7ba030f50e6c7850.tar.bz2
Add target_ops argument to to_static_tracepoint_marker_at
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_static_tracepoint_marker_at>: Add argument. (target_static_tracepoint_marker_at): Add argument. * target.c (update_current_target): Update. * remote.c (remote_static_tracepoint_marker_at): Add 'self' argument.
Diffstat (limited to 'gdb/target.c')
-rw-r--r--gdb/target.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/target.c b/gdb/target.c
index 2cf7055..7bbfeeb 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -924,7 +924,8 @@ update_current_target (void)
(void (*) (struct target_ops *))
target_ignore);
de_fault (to_static_tracepoint_marker_at,
- (int (*) (CORE_ADDR, struct static_tracepoint_marker *))
+ (int (*) (struct target_ops *,
+ CORE_ADDR, struct static_tracepoint_marker *))
return_zero);
de_fault (to_static_tracepoint_markers_by_strid,
(VEC(static_tracepoint_marker_p) * (*) (const char *))