aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-linux-nat.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:45:48 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:46:43 -0700
commit25e95349d8bc9dc7b2374cc0f684c5c6fbc6219a (patch)
tree84e5243756c73c209e426aacaa09f6220906950a /gdb/i386-linux-nat.c
parente3c49f88a28ae59ca4d339fac721719038da746d (diff)
downloadgdb-25e95349d8bc9dc7b2374cc0f684c5c6fbc6219a.zip
gdb-25e95349d8bc9dc7b2374cc0f684c5c6fbc6219a.tar.gz
gdb-25e95349d8bc9dc7b2374cc0f684c5c6fbc6219a.tar.bz2
Add target_ops argument to to_disable_btrace
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_disable_btrace>: Add argument. * target.c (target_disable_btrace): Add argument. * remote.c (remote_disable_btrace): Add 'self' argument. * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self' argument. * amd64-linux-nat.c (amd64_linux_disable_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 8d6d929..9c99036 100644
--- a/gdb/i386-linux-nat.c
+++ b/gdb/i386-linux-nat.c
@@ -1083,7 +1083,8 @@ i386_linux_enable_btrace (struct target_ops *self, ptid_t ptid)
/* Disable branch tracing. */
static void
-i386_linux_disable_btrace (struct btrace_target_info *tinfo)
+i386_linux_disable_btrace (struct target_ops *self,
+ struct btrace_target_info *tinfo)
{
enum btrace_error errcode = linux_disable_btrace (tinfo);