aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-nat.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/linux-nat.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/linux-nat.c')
-rw-r--r--gdb/linux-nat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index ff800a9..446bf09 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -4429,7 +4429,8 @@ cleanup_target_stop (void *arg)
}
static VEC(static_tracepoint_marker_p) *
-linux_child_static_tracepoint_markers_by_strid (const char *strid)
+linux_child_static_tracepoint_markers_by_strid (struct target_ops *self,
+ const char *strid)
{
char s[IPA_CMD_BUF_SIZE];
struct cleanup *old_chain;