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

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jan 19 18:55:55 CST 2010


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 at winehq.org
        ReportedBy: donpedro at 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.

-- 
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