aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/linux-low.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2009-11-16 18:15:05 +0000
committerPedro Alves <palves@redhat.com>2009-11-16 18:15:05 +0000
commitfd7dd3e67aa6a8d3f8019a4b3e19837660db1414 (patch)
tree22e8f50cc2caad1226c68149b4c52b12bff066d4 /gdb/gdbserver/linux-low.h
parentf7c21dc7b864993ed09c1c32bc1de9071da40348 (diff)
downloadgdb-fd7dd3e67aa6a8d3f8019a4b3e19837660db1414.zip
gdb-fd7dd3e67aa6a8d3f8019a4b3e19837660db1414.tar.gz
gdb-fd7dd3e67aa6a8d3f8019a4b3e19837660db1414.tar.bz2
* 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.
Diffstat (limited to 'gdb/gdbserver/linux-low.h')
-rw-r--r--gdb/gdbserver/linux-low.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/linux-low.h b/gdb/gdbserver/linux-low.h
index 9a3815c..9dfc9c9 100644
--- a/gdb/gdbserver/linux-low.h
+++ b/gdb/gdbserver/linux-low.h
@@ -201,7 +201,7 @@ struct lwp_info *find_lwp_pid (ptid_t ptid);
/* From thread-db.c */
int thread_db_init (int use_events);
-void thread_db_free (struct process_info *);
+void thread_db_free (struct process_info *, int detaching);
int thread_db_handle_monitor_command (char *);
int thread_db_get_tls_address (struct thread_info *thread, CORE_ADDR offset,
CORE_ADDR load_module, CORE_ADDR *address);