Don't write to inferior_ptid in target.c
authorPedro Alves <palves@redhat.com>
Thu, 18 Jun 2020 20:28:20 +0000 (21:28 +0100)
committerPedro Alves <palves@redhat.com>
Thu, 18 Jun 2020 22:04:50 +0000 (23:04 +0100)
commita0776b131d7a154125fdc4d22b1dda967c790ae9
treef7611f194dfd3b55c4e92fc3caf512aeda80e485
parent6155c136ccf04b1e4ae1bdc201b853ce899b8607
Don't write to inferior_ptid in target.c

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

* target.c (generic_mourn_inferior): Use switch_to_no_thread
instead of writing to inferior_ptid.
gdb/ChangeLog
gdb/target.c