Make the thread dump code safe by doing only async safe operations when a thread...
[mono.git] / mono / metadata / mono-debug.c
index fb12af22a48bae251ef9ac7ed750a952ce00b87f..42c980214eb53a73ef54cd57c7e3af979dd362d0 100644 (file)
@@ -262,7 +262,7 @@ mono_debug_open_image (MonoImage *image, const guint8 *raw_contents, int size)
        mono_image_addref (image);
 
        /* Try a ppdb file first */
-       handle->ppdb = mono_ppdb_load_file (handle->image);
+       handle->ppdb = mono_ppdb_load_file (handle->image, raw_contents, size);
 
        if (!handle->ppdb)
                handle->symfile = mono_debug_open_mono_symbols (handle, raw_contents, size, FALSE);