Don't write to inferior_ptid in bsd-kvm.c
authorPedro Alves <palves@redhat.com>
Thu, 18 Jun 2020 20:28:32 +0000 (21:28 +0100)
committerPedro Alves <palves@redhat.com>
Thu, 18 Jun 2020 22:14:40 +0000 (23:14 +0100)
commit5d971d48b922afc1cfe3ba1798477473cfbd052e
tree2a304b032c95d48335bd18918fa2cd21669d066d
parent86e57d1b233e15f7d72b39dbd381a7e5a9d1b026
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_open): Switch to thread after adding
it, instead of writing to inferior_ptid.
gdb/ChangeLog
gdb/bsd-kvm.c