summaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:45:35 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:46:42 -0700
commite3c49f88a28ae59ca4d339fac721719038da746d (patch)
tree11c42df36c8b72a3bcb8a7c96b445489ac72eb43 /gdb/target.c
parentfe38f8971f81ab42937d4c22f85bba5d8e48ada9 (diff)
downloadbinutils-gdb-e3c49f88a28ae59ca4d339fac721719038da746d.tar.gz
Add target_ops argument to to_enable_btrace
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_enable_btrace>: Add argument. * target.c (target_enable_btrace): Add argument. * remote.c (remote_enable_btrace): Add 'self' argument. * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self' argument. * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self' argument.
Diffstat (limited to 'gdb/target.c')
-rw-r--r--gdb/target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/target.c b/gdb/target.c
index 0a52b9e0933..be42e0cbbb1 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -4199,7 +4199,7 @@ target_enable_btrace (ptid_t ptid)
for (t = current_target.beneath; t != NULL; t = t->beneath)
if (t->to_enable_btrace != NULL)
- return t->to_enable_btrace (ptid);
+ return t->to_enable_btrace (t, ptid);
tcomplain ();
return NULL;