* linux-nat.c (linux_nat_wait): Update inferior_ptid's ptid with
authorPedro Alves <palves@redhat.com>
Mon, 8 Sep 2008 21:22:49 +0000 (21:22 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 8 Sep 2008 21:22:49 +0000 (21:22 +0000)
commit27c9d2043eb30017b949170a211fe73a61488492
treedec63f1bc63ebfb0c6f9dc2eb18100a91350c2da
parent5822d809e73ed680e384213620a148b2e86c3b13
* linux-nat.c (linux_nat_wait): Update inferior_ptid's ptid with
thread_change_ptid.  Don't add or mark the main thread as running
and executing here.
* fork-child.c (fork_inferior): Add the main thread here.
gdb/ChangeLog
gdb/fork-child.c
gdb/linux-nat.c