DbgHelp: Better Error Message

Robert Shearman rob at codeweavers.com
Wed Sep 29 19:24:45 CDT 2004


Changelog:
Print out a slightly more informative message if an ELF module fails to 
load.
-------------- next part --------------
Index: wine/dlls/dbghelp/module.c
===================================================================
RCS file: /home/wine/wine/dlls/dbghelp/module.c,v
retrieving revision 1.6
diff -u -p -r1.6 module.c
--- wine/dlls/dbghelp/module.c	27 Sep 2004 20:31:42 -0000	1.6
+++ wine/dlls/dbghelp/module.c	29 Sep 2004 23:46:00 -0000
@@ -314,7 +314,7 @@ DWORD WINAPI SymLoadModule(HANDLE hProce
 
         if (!strcmp(ImageName + len - 3, ".so") &&
             (module = elf_load_module(pcs, ImageName))) goto done;
-        FIXME("should no longer happen\n");
+        FIXME("should have successfully loaded some debug information for image %s\n", ImageName);
         if ((module = pe_load_module_from_pcs(pcs, ImageName, ModuleName, BaseOfDll, SizeOfDll)))
             goto done;
         WARN("Couldn't locate %s\n", ImageName);


More information about the wine-patches mailing list