All pastes #38176 Raw Edit

Anonymous

public c v1 · immutable
#38176 ·published 2006-01-23 14:29 UTC
rendered paste body
Index: mini/debug-debugger.c===================================================================--- mini/debug-debugger.c	(revision 55938)+++ mini/debug-debugger.c	(working copy)@@ -1,3 +1,4 @@+#if defined(__i386__) || defined(__x86_64__) #include <mono/io-layer/io-layer.h> #include <mono/metadata/threads.h> #include <mono/metadata/assembly.h>@@ -413,3 +414,27 @@  	return 0; }++#else /* defined(__x86__) || defined(__x86_64__) */+/*+ * We're on an unsupported platform for the debugger.+ */+#include "mini.h"++void+mono_debugger_init (void)+{+	/*+	 * This method is only called when we're running inside the Mono Debugger, but+	 * since the debugger doesn't work on this platform, this line should never be reached.+	 */+	g_error ("The Mono Debugger is not supported on this platform.");+}++int+mono_debugger_main (MonoDomain *domain, MonoAssembly *assembly, int argc, char **argv)+{+	g_assert_not_reached ();+}++#endif