OSDN Git Service

* linux-nat.c (linux_nat_wait): Update inferior_ptid's ptid with
authorPedro Alves <pedro@codesourcery.com>
Mon, 8 Sep 2008 21:22:48 +0000 (21:22 +0000)
committerPedro Alves <pedro@codesourcery.com>
Mon, 8 Sep 2008 21:22:48 +0000 (21:22 +0000)
commit957e114ba3c9e9586e6dcfbf76a1a93605a4c368
tree3e543a4ae2953ef45d5de52bf809d16b464607a0
parent6c408e200cb2586bf640e7c8fc73afee2d586a8a
* 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