Don't write to inferior_ptid in btrace_fetch
authorPedro Alves <palves@redhat.com>
Thu, 18 Jun 2020 20:28:31 +0000 (21:28 +0100)
committerPedro Alves <palves@redhat.com>
Thu, 18 Jun 2020 22:14:15 +0000 (23:14 +0100)
commit86e57d1b233e15f7d72b39dbd381a7e5a9d1b026
tree0094629c8282029d0f9d36f30820abb4212858ad
parentf2e1c129f8f0985ec80e6cf775cf3e4afbced6fa
Don't write to inferior_ptid in btrace_fetch

gdb/ChangeLog:
2020-06-18  Pedro Alves  <palves@redhat.com>

* btrace.c (btrace_fetch): Use switch_to_thread instead of writing
to inferior_ptid.
gdb/ChangeLog
gdb/btrace.c