aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-linux-nat.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:46:00 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:46:44 -0700
commit1777056d68eff4d68e0e00314d6050abaf9dff5f (patch)
tree8f257637ec1d405691a9cac3e3709ae5d6939822 /gdb/i386-linux-nat.c
parent25e95349d8bc9dc7b2374cc0f684c5c6fbc6219a (diff)
downloadgdb-1777056d68eff4d68e0e00314d6050abaf9dff5f.zip
gdb-1777056d68eff4d68e0e00314d6050abaf9dff5f.tar.gz
gdb-1777056d68eff4d68e0e00314d6050abaf9dff5f.tar.bz2
Add target_ops argument to to_teardown_btrace
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_teardown_btrace>: Add argument. * target.c (target_teardown_btrace): Add argument. * remote.c (remote_teardown_btrace): Add 'self' argument. * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self' argument. * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self' argument.
Diffstat (limited to 'gdb/i386-linux-nat.c')
-rw-r--r--gdb/i386-linux-nat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/i386-linux-nat.c b/gdb/i386-linux-nat.c
index 9c99036..0f8bc82 100644
--- a/gdb/i386-linux-nat.c
+++ b/gdb/i386-linux-nat.c
@@ -1095,7 +1095,8 @@ i386_linux_disable_btrace (struct target_ops *self,
/* Teardown branch tracing. */
static void
-i386_linux_teardown_btrace (struct btrace_target_info *tinfo)
+i386_linux_teardown_btrace (struct target_ops *self,
+ struct btrace_target_info *tinfo)
{
/* Ignore errors. */
linux_disable_btrace (tinfo);