Author: martin
Date: 2007-06-14 13:20:22 -0400 (Thu, 14 Jun 2007)
New Revision: 79577

Modified:
   branches/martin/debugger-dublin/runtime/mini/debug-debugger.c
   branches/martin/debugger-dublin/runtime/mini/debug-debugger.h
Log:
Daily backup June 14th.

Modified: branches/martin/debugger-dublin/runtime/mini/debug-debugger.c
===================================================================
--- branches/martin/debugger-dublin/runtime/mini/debug-debugger.c       
2007-06-14 17:20:06 UTC (rev 79576)
+++ branches/martin/debugger-dublin/runtime/mini/debug-debugger.c       
2007-06-14 17:20:22 UTC (rev 79577)
@@ -46,6 +46,7 @@
 static guint64 debugger_get_current_thread (void);
 static gint64 debugger_get_method_addr_or_bpt (guint64 method_argument, 
guint64 index);
 static void debugger_remove_method_breakpoint (G_GNUC_UNUSED guint64 dummy, 
guint64 index);
+static void debugger_runtime_class_init (guint64 klass_arg);
 static void debugger_attach (void);
 static void debugger_detach (void);
 static void debugger_initialize (void);
@@ -127,6 +128,7 @@
        &debugger_get_current_thread,
        &debugger_get_method_addr_or_bpt,
        &debugger_remove_method_breakpoint,
+       &debugger_runtime_class_init,
        &debugger_attach,
        &debugger_detach,
        &debugger_initialize,
@@ -330,6 +332,13 @@
 }
 
 static void
+debugger_runtime_class_init (guint64 klass_arg)
+{
+       MonoClass *klass = (MonoClass *) GUINT_TO_POINTER ((gsize) klass_arg);
+       mono_runtime_class_init (mono_class_vtable (mono_domain_get (), klass));
+}
+
+static void
 debugger_event_handler (MonoDebuggerEvent event, guint64 data, guint64 arg)
 {
        mono_debugger_notification_function (event, data, arg);

Modified: branches/martin/debugger-dublin/runtime/mini/debug-debugger.h
===================================================================
--- branches/martin/debugger-dublin/runtime/mini/debug-debugger.h       
2007-06-14 17:20:06 UTC (rev 79576)
+++ branches/martin/debugger-dublin/runtime/mini/debug-debugger.h       
2007-06-14 17:20:22 UTC (rev 79577)
@@ -57,6 +57,7 @@
        guint64 (*get_current_thread) (void);
        gint64 (*get_method_addr_or_bpt) (guint64 method_argument, guint64 
index);
        void (*remove_method_breakpoint) (G_GNUC_UNUSED guint64 dummy, guint64 
index);
+       void (*runtime_class_init) (guint64 klass_arg);
        void (*attach) (void);
        void (*detach) (void);
        void (*initialize) (void);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to