Don't write to inferior_ptid in remote-sim.c
authorPedro Alves <palves@redhat.com>
Thu, 18 Jun 2020 20:28:25 +0000 (21:28 +0100)
committerPedro Alves <palves@redhat.com>
Thu, 18 Jun 2020 22:09:05 +0000 (23:09 +0100)
commit191f02e59316d8ff15684d24e1c8f4d07b2dd582
treeb02ad5366b203237164351d066d6f89f6249dc0b
parent0ac553107c601cc9c4c340338e0fc7e0ce8375cc
Don't write to inferior_ptid in remote-sim.c

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

* remote-sim.c (gdbsim_target::create_inferior): Switch to thread
after creating it, instead of writing to inferior_ptid.
(gdbsim_target_open): Use switch_to_no_thread instead of writing
to inferior_ptid directly.
(gdbsim_target::wait): Don't write to inferior_ptid.
gdb/ChangeLog
gdb/remote-sim.c
This page took 0.023785 seconds and 4 git commands to generate.