likely you're trying to debug a 32bit app using the 64bit debugger
this doesn't work yet

a+
2012/7/21 John Edmonds <john.a.edmonds@gmail.com>
I'm using 64-bit Ubuntu 12.04.  I built and installed wine using the instructions from http://wiki.winehq.org/WineOn64bit.  Whenever I try to debug an application using winedbg I get the following error message:

> /var/chroot/usr/local/bin/winedbg ~/.wine/drive_c/windows/system32/notepad.exe
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\notepad.exe" failed, status c0000022
WineDbg starting on pid 0023
couldn't load main module (2)
Process of pid=0023 has terminated

This is the output when the same command is run with WINEDEBUG=warn+all: http://pastebin.com/RjErdbt8.

My source tree is synced to git commit 020a68e1350eaf7293718732c1c9203e460709c6.

Has anyone had success debugging Windows applications on 64-bit Linux?

Thanks,
John Edmonds





--
--
Eric Pouech