* linux-low.c (linux_remove_process): Remove `detaching'
authorPedro Alves <palves@redhat.com>
Mon, 28 Dec 2009 16:09:27 +0000 (16:09 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 28 Dec 2009 16:09:27 +0000 (16:09 +0000)
commitca5c370d27dbe4f384787370fbb2195a0237897c
tree4fc71283706990a21ac26b0a46f2569dc08527d4
parent9e0544c1f9db518bab94c7014cf2b6758a3fc287
* linux-low.c (linux_remove_process): Remove `detaching'
parameter.  Don't release/detach from thread_db here.
(linux_kill): Release/detach from thread_db here, ...
(linux_detach): ... and here, before actually detaching.
(linux_wait_1): ... and here, when a process exits.
* thread-db.c (any_thread_of): New.
(thread_db_free): Switch the current inferior to a thread of the
passed in process.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c
gdb/gdbserver/thread-db.c