diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-17 21:45:48 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:46:43 -0700 |
commit | 25e95349d8bc9dc7b2374cc0f684c5c6fbc6219a (patch) | |
tree | 84e5243756c73c209e426aacaa09f6220906950a /gdb/i386-linux-nat.c | |
parent | e3c49f88a28ae59ca4d339fac721719038da746d (diff) | |
download | fsf-binutils-gdb-25e95349d8bc9dc7b2374cc0f684c5c6fbc6219a.zip fsf-binutils-gdb-25e95349d8bc9dc7b2374cc0f684c5c6fbc6219a.tar.gz fsf-binutils-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.c | 3 |
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); |