http://bugs.winehq.org/show_bug.cgi?id=21422
Summary: winedbg cannot find local symbols in EXE. Product: Wine Version: 1.1.36 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winedbg AssignedTo: wine-bugs@winehq.org ReportedBy: donpedro@tdcadsl.dk
While trying to debug:
http://bugs.winehq.org/show_bug.cgi?id=21388 (test.exe - attachment #1).
,i found this bug in winedbg. winedump finds all of the symbols, but winedbg cannot do the same.
so: "break __do_global_dtors" cannot find the symbol.
I tried to debug winedbg/dbghelp.dll a bit to find the problem and found some hints (i am not sure if all of it is correct):
1) Module_get_container() does not return the correct module. It returns "/lib/libc" as the container for "test.exe". This does not seem right.
If i hack myself around this i get to:
2) It would seem that winedbg/debughlp.dll only loads "export" symbols? As the EXE has no exports then no symbols are found.... is this right? What about all of the other symbols?
Furthermore, if i force the debugger to break at the correct place, the debugger seems to show the wrong disassembly. Not sure if that is the same bug or a different one.