Can't debug mingw compiled program
lav at etersoft.ru
Tue Nov 2 10:07:20 CST 2004
During program debugging I have some trouble with winedbg use.
Simple test program with error on write access to constant:
int main(int argc, char **argv)
char * str = "test";
I try debug it:
$ winedbg 3.exe
Can't attach process 3: error 87
WineDbg starting on pid 0xa
In 32 bit mode.
First chance exception: page fault on write access to 0x00404000 in 32-bit code (0x00935d20).
=>1 0x00935d20 _memccpy+0x595 in msvcrt (0x0090fec8)
2 0x00401330wine-kthread: stabs.c:246: stabs_find_ref: Assertion `filenr <= cu_include_stk_idx' failed.
I see some bug in stubs handling.
wine from last CVS
Vitaly Lipatov, ALT Linux Team
Russia, Saint-Petersburg, www.etersoft.ru
More information about the wine-devel