aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/thread-db.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbserver/thread-db.c')
-rw-r--r--gdb/gdbserver/thread-db.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/gdbserver/thread-db.c b/gdb/gdbserver/thread-db.c
index 1869dbd..3128338 100644
--- a/gdb/gdbserver/thread-db.c
+++ b/gdb/gdbserver/thread-db.c
@@ -130,7 +130,7 @@ thread_db_state_str (td_thr_state_e state)
}
#endif
-static void
+static int
thread_db_create_event (CORE_ADDR where)
{
td_event_msg_t msg;
@@ -159,14 +159,18 @@ thread_db_create_event (CORE_ADDR where)
/* msg.event == TD_EVENT_CREATE */
find_new_threads_callback (msg.th_p, NULL);
+
+ return 0;
}
#if 0
-static void
+static int
thread_db_death_event (CORE_ADDR where)
{
if (debug_threads)
fprintf (stderr, "Thread death event.\n");
+
+ return 0;
}
#endif