mono_debug_make_symbols() is now known as mono_debug_update().
authorMartin Baulig <martin@novell.com>
Wed, 23 Apr 2003 14:55:00 +0000 (14:55 -0000)
committerMartin Baulig <martin@novell.com>
Wed, 23 Apr 2003 14:55:00 +0000 (14:55 -0000)
svn path=/trunk/mono/; revision=13926

mono/jit/exception.c

index 5d8a89160c30d46c71e89c6c4bf77061bd3aec0f..96fce1294caa3dd5d55307daf14282d22595d960 100644 (file)
 #include <mono/metadata/tabledefs.h>
 #include <mono/metadata/threads.h>
 #include <mono/metadata/debug-helpers.h>
+#include <mono/metadata/mono-debug.h>
 
 #include "jit.h"
 #include "codegen.h"
-#include "debug.h"
 
 #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
 # define SC_EAX sc_eax
@@ -601,8 +601,7 @@ mono_arch_find_jit_info (MonoDomain *domain, MonoJitTlsData *jit_tls, MonoJitInf
                                *managed = TRUE;
 
                if (trace) {
-                       if (mono_debug_format != MONO_DEBUG_FORMAT_NONE)
-                               mono_debug_make_symbols ();
+                       mono_debug_update ();
 
                        source_location = mono_debug_source_location_from_address (ji->method, address, NULL);
                        iloffset = mono_debug_il_offset_from_address (ji->method, address);
@@ -855,8 +854,7 @@ arch_handle_exception (MonoContext *ctx, gpointer obj, gboolean test_only)
                MonoContext ctx_cp = *ctx;
                if (!arch_handle_exception (&ctx_cp, obj, TRUE)) {
                        if (mono_break_on_exc) {
-                               if (mono_debug_format != MONO_DEBUG_FORMAT_NONE)
-                                       mono_debug_make_symbols ();
+                               mono_debug_update ();
                                G_BREAKPOINT ();
                        }
                        mono_unhandled_exception (obj);