server: Add hooks to support process tracing mechanisms other than ptrace.
diff --git a/server/ptrace.c b/server/ptrace.c
index c7aa088..7b0bfa0 100644
--- a/server/ptrace.c
+++ b/server/ptrace.c
@@ -223,6 +223,23 @@
return -1;
}
+/* initialize the process tracing mechanism */
+void init_tracing_mechanism(void)
+{
+ /* no initialization needed for ptrace */
+}
+
+/* initialize the per-process tracing mechanism */
+void init_process_tracing( struct process *process )
+{
+ /* ptrace setup is done on-demand */
+}
+
+/* terminate the per-process tracing mechanism */
+void finish_process_tracing( struct process *process )
+{
+}
+
/* send a Unix signal to a specific thread */
int send_thread_signal( struct thread *thread, int sig )
{