Author: martin
Date: 2007-06-21 08:10:50 -0400 (Thu, 21 Jun 2007)
New Revision: 80443
Modified:
branches/martin/debugger-dublin/runtime/metadata/mono-debug-debugger.c
branches/martin/debugger-dublin/runtime/metadata/mono-debug-debugger.h
Log:
This isn't used anymore.
Modified: branches/martin/debugger-dublin/runtime/metadata/mono-debug-debugger.c
===================================================================
--- branches/martin/debugger-dublin/runtime/metadata/mono-debug-debugger.c
2007-06-21 12:10:35 UTC (rev 80442)
+++ branches/martin/debugger-dublin/runtime/metadata/mono-debug-debugger.c
2007-06-21 12:10:50 UTC (rev 80443)
@@ -292,50 +292,9 @@
goto again;
}
-static GPtrArray *method_load_callbacks = NULL;
-
void
mono_debugger_add_type (MonoDebugHandle *symfile, MonoClass *klass)
{
must_reload_symtabs = TRUE;
}
-
-typedef struct {
- guint64 index;
- MonoMethod *method;
-} MethodLoadCallback;
-
-void
-mono_debugger_register_method_load_callback (guint64 index, MonoMethod *method)
-{
- MethodLoadCallback *info;
-
- info = g_new0 (MethodLoadCallback, 1);
- info->index = index;
- info->method = method;
-
- if (!method_load_callbacks)
- method_load_callbacks = g_ptr_array_new ();
-
- g_ptr_array_add (method_load_callbacks, info);
-}
-
-void
-mono_debugger_remove_method_load_callback (int index)
-{
- int i;
-
- if (!method_load_callbacks)
- return;
-
- for (i = 0; i < method_load_callbacks->len; i++) {
- MethodLoadCallback *info = g_ptr_array_index
(method_load_callbacks, i);
-
- if (info->index != index)
- continue;
-
- g_ptr_array_remove (method_load_callbacks, info);
- g_free (info);
- }
-}
Modified: branches/martin/debugger-dublin/runtime/metadata/mono-debug-debugger.h
===================================================================
--- branches/martin/debugger-dublin/runtime/metadata/mono-debug-debugger.h
2007-06-21 12:10:35 UTC (rev 80442)
+++ branches/martin/debugger-dublin/runtime/metadata/mono-debug-debugger.h
2007-06-21 12:10:50 UTC (rev 80443)
@@ -53,9 +53,6 @@
void mono_debugger_add_symbol_file (MonoDebugHandle
*handle);
void mono_debugger_add_type (MonoDebugHandle
*symfile, MonoClass *klass);
-void mono_debugger_register_method_load_callback (guint64 index,
MonoMethod *method);
-void mono_debugger_remove_method_load_callback (int index);
-
MonoObject *mono_debugger_runtime_invoke (MonoMethod
*method, void *obj,
void **params,
MonoObject **exc);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches