Don't write to inferior_ptid in corelow.c
authorPedro Alves <palves@redhat.com>
Thu, 18 Jun 2020 20:28:29 +0000 (21:28 +0100)
committerPedro Alves <palves@redhat.com>
Thu, 18 Jun 2020 22:12:43 +0000 (23:12 +0100)
commit60db1b8565060f4bd2287b060ea9724c93289982
tree1467ab522b791b2ea7cbc581adcebfb477bf09bd
parentfe7d6a8db01f2a71520578267df7cd2d780ececb
Don't write to inferior_ptid in corelow.c

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

* corelow.c (core_target::close): Use switch_to_no_thread instead
of writing to inferior_ptid directly.
(add_to_thread_list, core_target_open): Use switch_to_thread
instead of writing to inferior_ptid directly.
gdb/ChangeLog
gdb/corelow.c