Debugging wine/windows applications

John Yani vanuan at
Sat Jul 7 05:20:55 CDT 2012

Unfortunately, it doesn't work:

./wine winedbg --gdb notepad.exe
err:module:LdrInitializeThunk Main exe initialization for
L"C:\\windows\\system32\\notepad.exe" failed, status c0000022
0023:0024: create process ''/0x1106c0 @0x7ebe233c (0<0>)
fixme:dbghelp:EnumerateLoadedModulesW64 If this happens, bump the number in mod
0023:0024: create thread I @0x7ebe233c

Maybe winedbg wrapper is not exactly the same? How do I tell winedbg
wrapper to use wine from the specific folder?

On 7 July 2012 13:17, Marcus Meissner <marcus at> wrote:
> On Sat, Jul 07, 2012 at 01:11:42PM +0300, John Yani wrote:
>> Did you mean './wine winedbg --gdb notepad'? Because I can't find winedbg
>> binary.
> This would be the same. There usually is a "winedbg" wrapper installed
> that does the same, but for all purposes its the same thing.
> Ciao, Marcus

More information about the wine-devel mailing list