Don't write to inferior_ptid in bsd-kvm.c
authorPedro Alves <palves@redhat.com>
Thu, 18 Jun 2020 20:28:30 +0000 (21:28 +0100)
committerPedro Alves <palves@redhat.com>
Thu, 18 Jun 2020 22:13:47 +0000 (23:13 +0100)
commitf2e1c129f8f0985ec80e6cf775cf3e4afbced6fa
treeb1e26e5a91c7ab5a8c49579fb331b3b39f694bce
parent60db1b8565060f4bd2287b060ea9724c93289982
Don't write to inferior_ptid in bsd-kvm.c

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

* bsd-kvm.c (bsd_kvm_target::close): Use switch_to_no_thread
instead of writing to inferior_ptid directly.
gdb/ChangeLog
gdb/bsd-kvm.c