2002-10-01 Martin Baulig <martin@gnome.org>
authorMartin Baulig <martin@novell.com>
Tue, 1 Oct 2002 18:44:01 +0000 (18:44 -0000)
committerMartin Baulig <martin@novell.com>
Tue, 1 Oct 2002 18:44:01 +0000 (18:44 -0000)
* debug.c: Don't create an .il file for the dynamic symbol file.

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

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

index 717a82eaa20960a671e34a9e4b571c5a44356708..df206cb9037c79480f66c817482ffc43062541cf 100644 (file)
@@ -1,3 +1,7 @@
+2002-10-01  Martin Baulig  <martin@gnome.org>
+
+       * debug.c: Don't create an .il file for the dynamic symbol file.
+
 2002-10-01  Martin Baulig  <martin@gnome.org>
 
        * debug.c (MonoDebuggerInfo): Added mono_runtime_invoke().
index 7ae84dec6d0253f84e865bffb5276641bd59533b..7e314d07d8c3890946a75d4e0f624396ad3a946e 100644 (file)
@@ -686,18 +686,8 @@ mono_debug_open_image (MonoDebugHandle* debug, MonoImage *image)
                info->filename = replace_suffix (image->name, "dbg");
                if (g_file_test (info->filename, G_FILE_TEST_EXISTS))
                        info->symfile = mono_debug_open_mono_symbol_file (info->image, info->filename, TRUE);
-               else if (debug->flags & MONO_DEBUG_FLAGS_MONO_DEBUGGER) {
-#if 0
-                       if (!strcmp (info->name, "corlib"))
-                               break;
-#endif
-                       info->ilfile = g_strdup_printf ("%s.il", info->name);
-                       info->always_create_il = TRUE;
-                       debug_load_method_lines (info);
-                       g_assert (info->methods);
-                       info->symfile = mono_debug_create_mono_symbol_file (
-                               info->image, info->ilfile, info->methods);
-               }
+               else if (debug->flags & MONO_DEBUG_FLAGS_MONO_DEBUGGER)
+                       info->symfile = mono_debug_create_mono_symbol_file (info->image);
                debugger_symbol_file_table_generation++;
                break;