* linux-low.c (linux_remove_process): Add `detaching' parameter.
authorPedro Alves <palves@redhat.com>
Mon, 16 Nov 2009 18:15:05 +0000 (18:15 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 16 Nov 2009 18:15:05 +0000 (18:15 +0000)
commitfd7dd3e67aa6a8d3f8019a4b3e19837660db1414
tree22e8f50cc2caad1226c68149b4c52b12bff066d4
parentf7c21dc7b864993ed09c1c32bc1de9071da40348
* linux-low.c (linux_remove_process): Add `detaching' parameter.
Pass it to thread_db_free.
(linux_kill, linux_detach, linux_wait_1): Adjust to pass the
proper `detaching' argument to linux_remove_process.
* linux-low.h (thread_db_free): Add `detaching' parameter.
* thread-db.c (thread_db_init): Pass false as `detaching' argument
to thread_db_free.
(thread_db_free): Add `detaching' parameter.  Only
call td_ta_clear_event if detaching from process.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c
gdb/gdbserver/linux-low.h
gdb/gdbserver/thread-db.c