aboutsummaryrefslogtreecommitdiff
path: root/gdb/tracepoint.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:41:52 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:46:25 -0700
commitbd4c67938f9885f36df3d5d9635aba4e8870b95d (patch)
tree4a1a9c5202f576c249631c06172a7a9468b7d1aa /gdb/tracepoint.c
parent74499f1bf25edf94415bb692a7cf71b719897738 (diff)
downloadgdb-bd4c67938f9885f36df3d5d9635aba4e8870b95d.zip
gdb-bd4c67938f9885f36df3d5d9635aba4e8870b95d.tar.gz
gdb-bd4c67938f9885f36df3d5d9635aba4e8870b95d.tar.bz2
Add target_ops argument to to_trace_find
2014-02-19 Tom Tromey <tromey@redhat.com> * tracepoint.c (tfile_trace_find): Add 'self' argument. * target.h (struct target_ops) <to_trace_find>: Add argument. (target_trace_find): Add argument. * target.c (update_current_target): Update. * remote.c (remote_trace_find): Add 'self' argument. * ctf.c (ctf_trace_find): Add 'self' argument.
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r--gdb/tracepoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c
index 6698dd6..5d034b5 100644
--- a/gdb/tracepoint.c
+++ b/gdb/tracepoint.c
@@ -4839,7 +4839,7 @@ tfile_get_traceframe_address (off_t tframe_offset)
each. */
static int
-tfile_trace_find (enum trace_find_type type, int num,
+tfile_trace_find (struct target_ops *self, enum trace_find_type type, int num,
CORE_ADDR addr1, CORE_ADDR addr2, int *tpp)
{
short tpnum;