diff --git a/src/monodroid/jni/monodroid-glue.c b/src/monodroid/jni/monodroid-glue.c index df6601141a9..73ca6c7b808 100644 --- a/src/monodroid/jni/monodroid-glue.c +++ b/src/monodroid/jni/monodroid-glue.c @@ -2123,6 +2123,16 @@ load_assembly (MonoDomain *domain, JNIEnv *env, jstring assembly) mono.mono_assembly_name_free (aname); } +static void +set_debug_options (void) +{ + if (monodroid_get_namespaced_system_property (DEBUG_MONO_DEBUG_PROPERTY, NULL) == 0) + return; + + register_debug_symbols = 1; + mono.mono_debug_init (MONO_DEBUG_FORMAT_MONO); +} + #ifdef ANDROID static const char *soft_breakpoint_kernel_list[] = { "2.6.32.21-g1e30168", NULL @@ -2162,16 +2172,6 @@ enable_soft_breakpoints (void) return 1; } -static void -set_debug_options (void) -{ - if (monodroid_get_namespaced_system_property (DEBUG_MONO_DEBUG_PROPERTY, NULL) == 0) - return; - - register_debug_symbols = 1; - mono.mono_debug_init (MONO_DEBUG_FORMAT_MONO); -} - void set_world_accessable (const char *path) { @@ -2397,11 +2397,6 @@ enable_soft_breakpoints (void) return 0; } -static void -set_debug_options (void) -{ -} - void set_world_accessable (const char *path) {