[Bug 21422] winedbg cannot find local symbols in EXE.

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jan 20 15:24:30 CST 2010


--- Comment #2 from Eric Pouech <eric.pouech at orange.fr>  2010-01-20 15:24:29 ---
#1 is wrong

a/ test.exe doesn't any debug information
b/ it just contains a COFF symbol table (likely generated by mingw), and no
dwarf/stabs/codeview or even COFF debug info

what's wrong is that dbghelp doen't try to load the COFF symbol table when no
debug info is present (is just tries to load the EXPORT table, which happens to
be empty)

the module computation is likely correct, but the symbol you're looking for is
present in two modules, but as dbghelp doesn't handle correctly the test.exe
module, it only locates one symbol

real fix is to try to load the COFF symbol table before the export table
that shouldn't be too long to do, just need to find time in order to find time
to decide when to do it

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list