gdb, gdbserver: update thread identifier in enable_btrace target method
authorMarkus Metzger <markus.t.metzger@intel.com>
Thu, 25 Nov 2021 14:15:52 +0000 (15:15 +0100)
committerMarkus Metzger <markus.t.metzger@intel.com>
Thu, 27 Jan 2022 12:31:20 +0000 (13:31 +0100)
commit696c0d5ef2a6edaa2094e808f53acd502a157641
tree351b7bfa2d640104e2a5b1db0136fc29814ee388
parentb674665b51112de22260709a214d4d6ba01c7e57
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.
13 files changed:
gdb/btrace.c
gdb/ravenscar-thread.c
gdb/remote.c
gdb/target-delegates.c
gdb/target.c
gdb/target.h
gdb/x86-linux-nat.c
gdb/x86-linux-nat.h
gdbserver/linux-low.cc
gdbserver/linux-low.h
gdbserver/server.cc
gdbserver/target.cc
gdbserver/target.h