aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:44:45 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:46:38 -0700
commitc686c57f020c9b20ea120ec19cacce773ae789de (patch)
tree7159cab552d02a5446cc56805d01bf0eac101cd9 /gdb/remote.c
parent61fc905df366744e1501cccd7ba030f50e6c7850 (diff)
downloadgdb-c686c57f020c9b20ea120ec19cacce773ae789de.zip
gdb-c686c57f020c9b20ea120ec19cacce773ae789de.tar.gz
gdb-c686c57f020c9b20ea120ec19cacce773ae789de.tar.bz2
Add target_ops argument to to_static_tracepoint_markers_by_strid
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (target_static_tracepoint_markers_by_strid): Add argument. (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add 'self' argument. * target.c (update_current_target): Update. * remote.c (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add 'self' argument. * linux-nat.c (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 2adf0db..f47a862 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -2918,7 +2918,8 @@ remote_static_tracepoint_marker_at (struct target_ops *self, CORE_ADDR addr,
}
static VEC(static_tracepoint_marker_p) *
-remote_static_tracepoint_markers_by_strid (const char *strid)
+remote_static_tracepoint_markers_by_strid (struct target_ops *self,
+ const char *strid)
{
struct remote_state *rs = get_remote_state ();
VEC(static_tracepoint_marker_p) *markers = NULL;