Author: lupus
Date: 2006-05-17 12:08:13 -0400 (Wed, 17 May 2006)
New Revision: 60787
Modified:
trunk/mono/mono/mini/ChangeLog
trunk/mono/mono/mini/debug-debugger.c
Log:
Wed May 17 18:07:33 CEST 2006 Paolo Molaro <[EMAIL PROTECTED]>
* debug-debugger.c: fix the build.
Modified: trunk/mono/mono/mini/ChangeLog
===================================================================
--- trunk/mono/mono/mini/ChangeLog 2006-05-17 16:05:00 UTC (rev 60786)
+++ trunk/mono/mono/mini/ChangeLog 2006-05-17 16:08:13 UTC (rev 60787)
@@ -1,3 +1,8 @@
+
+Wed May 17 18:07:33 CEST 2006 Paolo Molaro <[EMAIL PROTECTED]>
+
+ * debug-debugger.c: fix the build.
+
2006-05-17 Martin Baulig <[EMAIL PROTECTED]>
* debug-debugger.c
Modified: trunk/mono/mono/mini/debug-debugger.c
===================================================================
--- trunk/mono/mono/mini/debug-debugger.c 2006-05-17 16:05:00 UTC (rev
60786)
+++ trunk/mono/mono/mini/debug-debugger.c 2006-05-17 16:08:13 UTC (rev
60787)
@@ -248,6 +248,7 @@
return (guint64) (gsize) mono_thread_current ();
}
+#if defined(MONO_DEBUGGER_SUPPORTED) && defined(WITH_INCLUDED_LIBGC)
static void
debugger_gc_thread_created (pthread_t thread, void *stack_ptr)
{
@@ -298,7 +299,21 @@
gc_thread_vtable = NULL;
}
+#else
+
static void
+debugger_init_threads (void)
+{
+}
+
+static void
+debugger_finalize_threads (void)
+{
+}
+
+#endif /* MONO_DEBUGGER_SUPPORTED && WITH_INCLUDED_LIBGC */
+
+static void
debugger_attach (void)
{
mono_debugger_init ();
@@ -307,7 +322,9 @@
mono_debugger_notification_function
(MONO_DEBUGGER_EVENT_INITIALIZE_MANAGED_CODE, 0, 0);
debugger_init_threads ();
+#if defined(WITH_INCLUDED_LIBGC)
GC_mono_debugger_add_all_threads ();
+#endif
}
static void
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches