diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2021-11-25 15:15:52 +0100 |
---|---|---|
committer | Markus Metzger <markus.t.metzger@intel.com> | 2022-01-27 13:31:20 +0100 |
commit | 696c0d5ef2a6edaa2094e808f53acd502a157641 (patch) | |
tree | 351b7bfa2d640104e2a5b1db0136fc29814ee388 /gdb/x86-linux-nat.h | |
parent | b674665b51112de22260709a214d4d6ba01c7e57 (diff) | |
download | fsf-binutils-gdb-696c0d5ef2a6edaa2094e808f53acd502a157641.zip fsf-binutils-gdb-696c0d5ef2a6edaa2094e808f53acd502a157641.tar.gz fsf-binutils-gdb-696c0d5ef2a6edaa2094e808f53acd502a157641.tar.bz2 |
gdb, gdbserver: update thread identifier in enable_btrace target method
The enable_btrace target method takes a ptid_t to identify the thread on
which tracing shall be enabled.
Change this to thread_info * to avoid translating back and forth between
the two. This will be used in a subsequent patch.
Diffstat (limited to 'gdb/x86-linux-nat.h')
-rw-r--r-- | gdb/x86-linux-nat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/x86-linux-nat.h b/gdb/x86-linux-nat.h index e0a78bf..1a56234 100644 --- a/gdb/x86-linux-nat.h +++ b/gdb/x86-linux-nat.h @@ -32,7 +32,7 @@ struct x86_linux_nat_target : public x86_nat_target<linux_nat_target> /* Add the description reader. */ const struct target_desc *read_description () override; - struct btrace_target_info *enable_btrace (ptid_t ptid, + struct btrace_target_info *enable_btrace (thread_info *tp, const struct btrace_config *conf) override; void disable_btrace (struct btrace_target_info *tinfo) override; void teardown_btrace (struct btrace_target_info *tinfo) override; |