Silence non-error in dbghelp

Mike Hearn mh at codeweavers.com
Wed Feb 9 09:13:47 CST 2005


This one corrupts backtraces very frequently, usually because I am not
debugging on the same machine the program was compiled on :)

ChangeLog:
Change an ERR to a WARN in dbhelp


-------------- next part --------------
--- dlls/dbghelp/msc.c  (revision 132)
+++ dlls/dbghelp/msc.c  (local)
@@ -1993,7 +1993,7 @@ static BOOL pdb_process_internal(const s
         ((hMap = CreateFileMappingA(hFile, NULL, PAGE_READONLY, 0, 0, NULL)) == NULL) ||
         ((image = MapViewOfFile(hMap, FILE_MAP_READ, 0, 0, 0)) == NULL))
     {
-        ERR("-Unable to peruse .PDB file %s\n", pdb_lookup->filename);
+        WARN("Unable to open .PDB file: %s\n", pdb_lookup->filename);
         goto leave;
     }
     pdb_init(pdb_lookup, image);


More information about the wine-patches mailing list