Store the list of loaded dlls in the server, and generate debug events
internally.

diff --git a/server/object.h b/server/object.h
index 3f87b85..6aa920d 100644
--- a/server/object.h
+++ b/server/object.h
@@ -154,7 +154,8 @@
 /* debugger functions */
 
 extern int debugger_attach( struct process *process, struct thread *debugger );
-extern void generate_debug_event( struct thread *thread, int code );
+extern void generate_debug_event( struct thread *thread, int code, void *arg );
+extern void generate_startup_debug_events( struct process *process );
 extern void debug_exit_thread( struct thread *thread );
 extern CONTEXT *get_debug_context( struct thread *thread );