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/amd64-linux-nat.c | |
parent | e3c49f88a28ae59ca4d339fac721719038da746d (diff) | |
download | gdb-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/amd64-linux-nat.c')
-rw-r--r-- | gdb/amd64-linux-nat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/amd64-linux-nat.c b/gdb/amd64-linux-nat.c index 51f0476..b72bb84 100644 --- a/gdb/amd64-linux-nat.c +++ b/gdb/amd64-linux-nat.c @@ -1172,7 +1172,8 @@ amd64_linux_enable_btrace (struct target_ops *self, ptid_t ptid) /* Disable branch tracing. */ static void -amd64_linux_disable_btrace (struct btrace_target_info *tinfo) +amd64_linux_disable_btrace (struct target_ops *self, + struct btrace_target_info *tinfo) { enum btrace_error errcode = linux_disable_btrace (tinfo); |