* inf-ptrace.c: Include "gdbthread.h".
authorPedro Alves <palves@redhat.com>
Mon, 8 Sep 2008 21:25:05 +0000 (21:25 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 8 Sep 2008 21:25:05 +0000 (21:25 +0000)
commitaf99052775b274a23fd8004bf816f9b299b96b23
tree1fd27a76f1c34e2449f016d8930af5e45ee9559b
parent27c9d2043eb30017b949170a211fe73a61488492
* inf-ptrace.c: Include "gdbthread.h".
(inf_ptrace_attach): Add the main thread here.
* linux-nat.c (linux_nat_attach): Don't add the main thread here.
Decorate the main thread id with the lwp id.
gdb/ChangeLog
gdb/inf-ptrace.c
gdb/linux-nat.c