CVS: winex/dlls/dbghelp pe_module.c,1.3,1.4

[email protected] 7 Dec 2007 15:10:37 -0000
Newsgroups gmane.comp.emulators.winex.cvs
Message-ID <[email protected]>
Subject: winex/dlls/dbghelp pe_module.c,1.3,1.4Update of /var/lib/cvsd/cvsroot/winex/dlls/dbghelp
In directory agravaine:/tmp/cvs-serv14957/dlls/dbghelp

Modified Files:
	pe_module.c 
Log Message:
added a message on PDB load failure
trac #1970

- added a message to report when dbghelp failed to load debug information for a module

Signed-off-by: Jason Green
Signed-off-by: Mark Adams


Index: pe_module.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/dlls/dbghelp/pe_module.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- pe_module.c	30 Aug 2007 14:17:01 -0000	1.3
+++ pe_module.c	7 Dec 2007 15:10:35 -0000	1.4
@@ -323,6 +323,9 @@
                  * point), then do the SymExport except if we have an ELF container, 
                  * in which case we'll rely on the export's on the ELF side
                  */
+
+                if (!ret)
+                    ERR("loading debug information failed for module '%s'\n", module_name);
             }
 /* FIXME shouldn't we check that? if (!module_get_debug(pcs, module))l */
             TRACE("loading public debug symbols\n");