Debugging wine/windows applications
marcus at jet.franken.de
Sat Jul 7 01:50:33 CDT 2012
On Sat, Jul 07, 2012 at 12:17:00AM +0300, John Yani wrote:
> I tried to run wine under gdb and failed. Using multiprocess gdb I
> endup with weird trace:
> Where 0x7****** addresses are not connected to any module. And
> 0xf****** addresses are from /lib/ld-linux.so.2, debug symbols for
> which I can't find.
> Can somebody explain what's hapenning?
> Running wine with winedbg under gdb fails with message
> "err:module:LdrInitializeThunk Main exe initialization for
> L"C:\\windows\\system32\\notepad.exe" failed, status c0000022"
> Is there any tutorial on how to run wine with applications under gdb?
winedbg can hook gdb into itself, which will make this work
better I think.
winedbg --gdb notepad.exe
More information about the wine-devel