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 /gdbserver/target.cc | |
parent | b674665b51112de22260709a214d4d6ba01c7e57 (diff) | |
download | gdb-696c0d5ef2a6edaa2094e808f53acd502a157641.zip gdb-696c0d5ef2a6edaa2094e808f53acd502a157641.tar.gz 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 'gdbserver/target.cc')
-rw-r--r-- | gdbserver/target.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdbserver/target.cc b/gdbserver/target.cc index 5165957..5009146 100644 --- a/gdbserver/target.cc +++ b/gdbserver/target.cc @@ -736,7 +736,8 @@ process_stratum_target::supports_agent () } btrace_target_info * -process_stratum_target::enable_btrace (ptid_t ptid, const btrace_config *conf) +process_stratum_target::enable_btrace (thread_info *tp, + const btrace_config *conf) { error (_("Target does not support branch tracing.")); } |