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: > > 0xf7ffd430 > 0x7bc846f9 > 0x7bc8480f > 0x7bc84855 > 0x7bc42a94 > 0x7bc433b1 > 0x7b8772f7 > 0x7ebab89b > 0x7bc80014 > 0x7bc8005d > > 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 Ciao, Marcus