[Cgdb-devel] compile for cygwin
Brought to you by:
bobbybrasko,
crouchingturbo
From: Armin D. <di...@no...> - 2003-03-18 12:56:32
|
Hi, i'm tying to compile for cygwin, the compile runs fine but the resulting cgdb.exe will core dump: $ gdb-old --args ./cgdb -d /bin/gdb-old.exe GNU gdb 2003-03-03-cvs (cygwin-special) Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-cygwin"... (gdb) r Starting program: /usr/src/cgdb-0.2.3/src/cgdb.exe -d /bin/gdb-old.exe Program received signal SIGSEGV, Segmentation fault. 0x610c540a in wmemset () from /usr/bin/cygwin1.dll (gdb) bt #0 0x610c540a in wmemset () from /usr/bin/cygwin1.dll #1 0x610b3409 in fputs () from /usr/bin/cygwin1.dll #2 0x0040dfed in io_debug_write_fmt (fmt=0x4100dc "[%s]") at io.c:74 #3 0x00410434 in tgdb_init_forkAndExecPty (debugger=0x22ff01 "/bin/gdb-old.exe", argc=0, argv=0x100 50d2c, slavename=0x41a9c0 "", masterfd=0x414718, need_nl_mapping=0) at tgdb_init.c:95 #4 0x0040b120 in tgdb_init (debugger=0x22ff01 "/bin/gdb-old.exe", argc=0, argv=0x10050d2c, gdb=0x41 41f0, child=0x4141f4) at tgdb.c:95 #5 0x00402d81 in start_gdb (argc=0, argv=0x10050d2c) at cgdb.c:226 #6 0x0040383b in main (argc=0, argv=0x10050d2c) at cgdb.c:539 (gdb) This happens with the 0.2.3 version. I also tried the cvs version, it will not core dump but will print nonsense in the upper half of the screen and hangs after that. |