Don't write to inferior_ptid in go32-nat.c
authorPedro Alves <palves@redhat.com>
Thu, 18 Jun 2020 20:28:33 +0000 (21:28 +0100)
committerPedro Alves <palves@redhat.com>
Thu, 18 Jun 2020 22:15:48 +0000 (23:15 +0100)
commit1ee1a363454d88a87ad2ade7530b2a7fb670021e
treeb1313df8a08a4108ec2b1498e6cac1add09e0cc1
parent6d350754a32007465f9adbc11b87339e4493b358
Don't write to inferior_ptid in go32-nat.c

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

* go32-nat.c (go32_nat_target::create_inferior): Switch to thread
after creating it, instead of writing to inferior_ptid.  Don't
write to inferior_ptid.
gdb/ChangeLog
gdb/go32-nat.c