Don't write to inferior_ptid in go32-nat.c
authorPedro Alves <palves@redhat.com>
Thu, 18 Jun 2020 20:28:27 +0000 (21:28 +0100)
committerPedro Alves <palves@redhat.com>
Thu, 18 Jun 2020 22:10:53 +0000 (23:10 +0100)
commit1a20473059c7a088b9f3c4188c09976eebbc3ab4
tree4f2f203b5306313449fa21cb1b60de180e756bcd
parentebe84f23d2f3c0cb145cc7b3acfb011a4c7df1c9
Don't write to inferior_ptid in go32-nat.c

generic_mourn_inferior already takes care of switching to no thread.

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

* go32-nat.c (go32_nat_target::create_inferior): Don't write to
inferior_ptid.
gdb/ChangeLog
gdb/go32-nat.c