aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-linux-nat.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/i386-linux-nat.c
parentfe38f8971f81ab42937d4c22f85bba5d8e48ada9 (diff)
downloadgdb-e3c49f88a28ae59ca4d339fac721719038da746d.zip
gdb-e3c49f88a28ae59ca4d339fac721719038da746d.tar.gz
gdb-e3c49f88a28ae59ca4d339fac721719038da746d.tar.bz2
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/i386-linux-nat.c')
-rw-r--r--gdb/i386-linux-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386-linux-nat.c b/gdb/i386-linux-nat.c
index f7be40c..8d6d929 100644
--- a/gdb/i386-linux-nat.c
+++ b/gdb/i386-linux-nat.c
@@ -1061,7 +1061,7 @@ i386_linux_read_description (struct target_ops *ops)
/* Enable branch tracing. */
static struct btrace_target_info *
-i386_linux_enable_btrace (ptid_t ptid)
+i386_linux_enable_btrace (struct target_ops *self, ptid_t ptid)
{
struct btrace_target_info *tinfo;
struct gdbarch *gdbarch;