+2008-04-21 Martin Baulig <martin@ximian.com>
+
+ * debug-debugger.h (MonoDebuggerInfo): Removed `attach', `detach'
+ and `get_lmf_addr'; `notification_address' is no longer a pointer.
+
2008-04-21 Martin Baulig <martin@ximian.com>
* debug-debugger.h (MonoDebuggerInfo): Added `thread_vtable_ptr',
static guint64 debugger_class_get_static_field_data (guint64 klass);
static guint64 debugger_run_finally (guint64 argument1, guint64 argument2);
-static void debugger_attach (void);
-static void debugger_detach (void);
static void debugger_initialize (void);
static guint64 debugger_init_code_buffer (void);
extern void MONO_DEBUGGER__notification_function (guint64 command, guint64 data, guint64 data2);
-/*
- * Backwards compatibility:
- * The debugger expects a pointer to the function in `MONO_DEBUGGER__debugger_info'.
- */
-static void (*__obsolete_notification_func_ptr) (guint64 command, guint64 data, guint64 data2) =
- &MONO_DEBUGGER__notification_function;
-
/*
* This is a global data symbol which is read by the debugger.
*/
sizeof (MonoSymbolTable),
MONO_TRAMPOLINE_NUM,
mono_trampoline_code,
- &__obsolete_notification_func_ptr,
+ &MONO_DEBUGGER__notification_function,
&mono_symbol_table,
&debugger_metadata_info,
&mono_debug_debugger_version,
&mono_debugger_runtime_invoke,
&debugger_class_get_static_field_data,
&debugger_run_finally,
- &debugger_attach,
- &debugger_detach,
&debugger_initialize,
- (void*)&mono_get_lmf_addr,
&debugger_create_string,
&debugger_lookup_class,
gc_thread_vtable = NULL;
}
-static void
-debugger_attach (void)
-{
- mono_debugger_init ();
-
- mono_debugger_event_handler = debugger_event_handler;
- debugger_executable_code_buffer = mono_global_codeman_reserve (EXECUTABLE_CODE_BUFFER_SIZE);
- debugger_init_threads ();
-}
-
-static void
-debugger_detach (void)
-{
- mono_debugger_event_handler = NULL;
- debugger_finalize_threads ();
-}
-
static guint64
debugger_init_code_buffer (void)
{
MonoInvokeFunc runtime_invoke;
guint64 (*class_get_static_field_data) (guint64 klass);
guint64 (*run_finally) (guint64 argument1, guint64 argument2);
- void (*attach) (void);
- void (*detach) (void);
void (*initialize) (void);
- void * (*get_lmf_addr) (void);
guint64 (*create_string) (G_GNUC_UNUSED guint64 dummy1, G_GNUC_UNUSED guint64 dummy2,
G_GNUC_UNUSED guint64 dummy3, const gchar *string_argument);