Don't write to inferior_ptid in fork-child.c
authorPedro Alves <palves@redhat.com>
Thu, 18 Jun 2020 20:28:32 +0000 (21:28 +0100)
committerPedro Alves <palves@redhat.com>
Thu, 18 Jun 2020 22:15:16 +0000 (23:15 +0100)
commit6d350754a32007465f9adbc11b87339e4493b358
tree99523a020759f5c4b566f4dafa7438f528baaa8f
parent5d971d48b922afc1cfe3ba1798477473cfbd052e
Don't write to inferior_ptid in fork-child.c

This is no longer necessary.  All targets that call fork_inferior now
also call switch_to_thread as soon as they add the main thread.

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

* fork-child.c (postfork_hook): Don't write to inferior_ptid.
gdb/ChangeLog
gdb/fork-child.c