Author: martin
Date: 2007-08-23 15:08:48 -0400 (Thu, 23 Aug 2007)
New Revision: 84734

Modified:
   trunk/mono/mono/metadata/ChangeLog
   trunk/mono/mono/metadata/domain.c
   trunk/mono/mono/metadata/mono-debug.c
   trunk/mono/mono/metadata/mono-debug.h
Log:
2007-08-23  Martin Baulig  <[EMAIL PROTECTED]>

        * mono-debug.[ch]: Rename mono_debug_init_corlib() into
        _mono_debug_init_corlib() and remove it from the header file.



Modified: trunk/mono/mono/metadata/ChangeLog
===================================================================
--- trunk/mono/mono/metadata/ChangeLog  2007-08-23 19:02:00 UTC (rev 84733)
+++ trunk/mono/mono/metadata/ChangeLog  2007-08-23 19:08:48 UTC (rev 84734)
@@ -1,5 +1,10 @@
 2007-08-23  Martin Baulig  <[EMAIL PROTECTED]>
 
+       * mono-debug.[ch]: Rename mono_debug_init_corlib() into
+       _mono_debug_init_corlib() and remove it from the header file.
+
+2007-08-23  Martin Baulig  <[EMAIL PROTECTED]>
+
        * mono-debug-debugger.c
        (mono_debugger_unhandled_exception): Ignore `ThreadAbortException';
        don't notify the debugger about it.

Modified: trunk/mono/mono/metadata/domain.c
===================================================================
--- trunk/mono/mono/metadata/domain.c   2007-08-23 19:02:00 UTC (rev 84733)
+++ trunk/mono/mono/metadata/domain.c   2007-08-23 19:08:48 UTC (rev 84734)
@@ -112,6 +112,9 @@
 /* The stable runtime version */
 #define DEFAULT_RUNTIME_VERSION "v1.1.4322"
 
+/* This is intentionally not in the header file, so people don't misuse it. */
+extern void _mono_debug_init_corlib (MonoDomain *domain);
+
 static void
 get_runtimes_from_exe (const char *exe_file, const MonoRuntimeInfo** runtimes);
 
@@ -1419,7 +1422,7 @@
 
        domain->friendly_name = g_path_get_basename (filename);
 
-       mono_debug_init_corlib (domain);
+       _mono_debug_init_corlib (domain);
 
        return domain;
 }

Modified: trunk/mono/mono/metadata/mono-debug.c
===================================================================
--- trunk/mono/mono/metadata/mono-debug.c       2007-08-23 19:02:00 UTC (rev 
84733)
+++ trunk/mono/mono/metadata/mono-debug.c       2007-08-23 19:08:48 UTC (rev 
84734)
@@ -209,8 +209,11 @@
        mono_debugger_unlock ();
 }
 
+/*
+ * INTERNAL USE ONLY !
+ */
 void
-mono_debug_init_corlib (MonoDomain *domain)
+_mono_debug_init_corlib (MonoDomain *domain)
 {
        if (!mono_debug_initialized)
                return;

Modified: trunk/mono/mono/metadata/mono-debug.h
===================================================================
--- trunk/mono/mono/metadata/mono-debug.h       2007-08-23 19:02:00 UTC (rev 
84733)
+++ trunk/mono/mono/metadata/mono-debug.h       2007-08-23 19:08:48 UTC (rev 
84734)
@@ -163,7 +163,6 @@
 void mono_debug_list_remove (MonoDebugList **list, gconstpointer data);
 
 void mono_debug_init (MonoDebugFormat format);
-void mono_debug_init_corlib (MonoDomain *domain);
 void mono_debug_open_image_from_memory (MonoImage *image, const guint8 
*raw_contents, int size);
 void mono_debug_cleanup (void);
 

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

Reply via email to