From: leszek AT qnx DOT com (Leszek Kowlski) Subject: gdb, what I made wrong?! 30 Jun 1998 02:38:59 -0700 Message-ID: <199806291551.LAA17891.cygnus.gnu-win32@qnx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: gnu-win32 AT cygnus DOT com Hi everyone, I have just built gdb-4.16 under Windows 95 but unfortunately it crashed. When I started my gdb from command line I had windows with following message: GDB caused an invalid page fault in module at 0000:0010cac0. Registers: EAX=0040037f CS=016f EIP=0010cac0 EFLGS=00010206 EBX=00000000 SS=0177 ESP=027dfe18 EBP=027dfe28 ECX=00040006 DS=0177 ESI=815a7ba4 FS=395f EDX=027dfe24 ES=0177 EDI=00000000 GS=0000 Bytes at CS:EIP: 00 81 e9 00 02 26 8e 06 20 00 be 57 d7 ba 08 00 and under other gdb: This GDB was configured as "i386-cygwin32"... (gdb) break *0x401000 Breakpoint 1 at 0x401000 (gdb) run Starting program: /gnu/gdb-4.16/i386-qssl281-svr4/gdb/./gdb.exe bff30000:/WINDOWS/SYSTEM/GDI32.DLL bff60000:/WINDOWS/SYSTEM/USER32.DLL 7c6c0000:/WINDOWS/SYSTEM/WSOCK32.DLL bfed0000:/WINDOWS/SYSTEM/ADVAPI32.DLL bff70000:/WINDOWS/SYSTEM/KERNEL32.DLL [failed reading symbols from DLL] "/WINDOWS/SYSTEM/SHLWAPI.DLL": error reading line numbers 7fdc0000:/WINDOWS/SYSTEM/SHELL32.DLL [failed reading symbols from DLL] "/WINDOWS/SYSTEM/COMCTL32.DLL": error reading line numbers 63280000:/WINDOWS/SYSTEM/URL.DLL Breakpoint 1, 0x401000 in mainCRTStartup () 0x401000 : pushl %ebp 0x401001 : movl %esp,%ebp 0x401003 : subl $0x4,%esp 0x401006 : cmpl $0x0,0x502000 0x40100d : je 0x401010 0x40100f : int3 0x401010 : fnstcw 0xfffffffe(%ebp) 0x401013 : movw 0xfffffffe(%ebp),%ax 0x401017 : andl $0xfffff0c0,%eax 0x40101c : movw %ax,0xfffffffe(%ebp) 0x401020 : movw 0xfffffffe(%ebp),%ax 0x401024 : orl $0x33f,%eax 0x401029 : movw %ax,0xfffffffe(%ebp) 0x40102d : fldcw 0xfffffffe(%ebp) 0x401030 : pushl 0x4a2d3c 0x401036 : call 0x4f154c x4f154c : pushl %ebp 0x4f154d : movl %esp,%ebp 0x4f154f : subl $0x4,%esp 0x4f1552 : movl $0xa8,0x500768 0x4f155c : movl $0x11,0x50076c 0x4f1566 : movl $0x5,0x500770 0x4f1570 : movl $0x4f1ac0,0x500790 0x4f157a : movl $0x4f1ac8,0x500794 0x4f1584 : movl $0x50bd58,0x500778 0x4f158e : movl $0x50bd54,0x500774 0x4f1598 : movl $0x4a2d3c,0x50078c 0x4f15a2 : movl $0x50bd5c,0x500788 0x4f15ac : leal 0xfffffffc(%ebp),%edx 0x4f15af : movl %edx,0x500764 0x4f15b5 : movl $0x4e98e8,0x50077c 0x4f15bf : movl $0x4e8938,0x500780 0x4f15c9 : movl $0x4e9c8c,0x500784 0x4f15d3 : pushl $0x0 0x4f15d5 : call 0x4f1ab8 0x4f1ab9 : jmp *0x50c47c I received message: 'Program received signal SIGSEGV, Segmentation fault.' Before, I built a few cross compilers from gcc-2.8.1 stuff and I had no any problems. I am using gcc b18. Thank you for any hints. Please send e-mail directly to me. == leszek - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".