2003-01-24 Martin Baulig <martin@ximian.com>
authorMartin Baulig <martin@novell.com>
Fri, 24 Jan 2003 16:39:19 +0000 (16:39 -0000)
committerMartin Baulig <martin@novell.com>
Fri, 24 Jan 2003 16:39:19 +0000 (16:39 -0000)
* debug.c (mono_debug_io_layer): Disable this on Windows.

svn path=/trunk/mono/; revision=10874

mono/jit/ChangeLog
mono/jit/debug.c
mono/jit/debug.h

index 2206ba51fdb8afc6b3c56fe1481ed8d35310e6f2..dff1f164ed4ec4269589e8c237b31140e6bc8dca 100644 (file)
@@ -1,3 +1,7 @@
+2003-01-24  Martin Baulig  <martin@ximian.com>
+
+       * debug.c (mono_debug_io_layer): Disable this on Windows.
+
 2003-01-23  Dick Porter  <dick@ximian.com>
 
        * mono.c: Use mono_runtime_exec_managed_code() to run all managed
index b6b0dc534cab9abd2ecea3014fb889988a618e3c..393ed09329c1e26788847f149e20686d5b64bddb 100644 (file)
@@ -56,12 +56,16 @@ static AssemblyDebugInfo *mono_debug_open_image (MonoDebugHandle* debug, MonoIma
 
 void (*mono_debugger_event_handler) (MonoDebuggerEvent event, gpointer data, gpointer data2) = NULL;
 
+#ifndef PLATFORM_WIN32
+
 MonoDebuggerIOLayer mono_debugger_io_layer = {
        InitializeCriticalSection, DeleteCriticalSection, TryEnterCriticalSection,
        EnterCriticalSection, LeaveCriticalSection, WaitForSingleObject, SignalObjectAndWait,
        WaitForMultipleObjects, CreateSemaphore, ReleaseSemaphore, CreateThread
 };
 
+#endif
+
 void
 mono_debugger_event (MonoDebuggerEvent event, gpointer data, gpointer data2)
 {
index c93553bf6f8773c76086423c3a966619994b1d82..a58a552f2d5eb159123f7ef578200c51f5d85896 100644 (file)
@@ -28,6 +28,8 @@ typedef enum {
        MONO_DEBUGGER_EVENT_THREAD_CREATED
 } MonoDebuggerEvent;
 
+#ifndef PLATFORM_WIN32
+
 /*
  * Functions we export to the debugger.
  */
@@ -57,6 +59,8 @@ struct _MonoDebuggerIOLayer
 
 extern MonoDebuggerIOLayer mono_debugger_io_layer;
 
+#endif
+
 extern void (*mono_debugger_event_handler) (MonoDebuggerEvent event, gpointer data, gpointer data2);
 
 extern MonoDebugFormat mono_debug_format;